|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.service.impl.utility.AnalysisManagementService
@Service public final class AnalysisManagementService
This manager is a service which is responsible for the currently used and running instances of AnalysisController
. It provides methods to check the states
of analyses, instantiate, start, and to stop them.
Constructor Summary | |
---|---|
AnalysisManagementService()
Default constructor. |
Method Summary | |
---|---|
void |
cleanAnalysis(String projectName)
This method cleans the analysis for the given project. |
void |
emergencyShutdown(String projectName)
Initializes an emergency shutdown of the analysis. |
kieker.analysis.AnalysisController.STATE |
getCurrentState(String projectName)
This method delivers the current state of the analysis, if it is available, null otherwise. |
Object |
getDisplay(String projectName,
String viewName,
String displayName)
This method delivers the display object of the (currently running) analysis for the given project and the given parameters. |
DisplayType |
getDisplayType(String projectName,
String viewName,
String displayConnectorName)
Delivers the type of the given display connector. |
Object[] |
getLogEntries(String projectName)
This method delivers the available log entries of the analysis controller of the given project. |
void |
initializeAnalysis(String projectName)
This method initializes the analysis for the given project. |
void |
reloadDisplays(String projectName)
Reloads the displays of the given project. |
void |
startAnalysis(String projectName)
This method starts the analysis for the given project. |
void |
stopAnalysis(String projectName)
This method stops the analysis for the given project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalysisManagementService()
Method Detail |
---|
public void initializeAnalysis(String projectName) throws InvalidAnalysisStateException, AnalysisInitializationException, ProjectNotExistingException, IOException
projectName
- The name of the project to be initialized.
AnalysisInitializationException
- If an error occurred during the initialization of the analysis.
InvalidAnalysisStateException
- If the analysis is in an invalid state to be initialized.
IOException
- If something went wrong while loading the file.
ProjectNotExistingException
- If a project with the given name does not exist.public void reloadDisplays(String projectName) throws AnalysisDisplayReloadException, InvalidAnalysisStateException
projectName
- The name of the project.
AnalysisDisplayReloadException
- If something went wrong while reloading the displays.
InvalidAnalysisStateException
- If the analysis is in an invalid state for the operation.public void cleanAnalysis(String projectName) throws InvalidAnalysisStateException
projectName
- The name of the project to be cleaned.
InvalidAnalysisStateException
- If the analysis is in an invalid state to be cleaned.public void startAnalysis(String projectName) throws InvalidAnalysisStateException
projectName
- The name of the project to be started.
InvalidAnalysisStateException
- If the analysis is in an invalid state to be started.public void stopAnalysis(String projectName) throws InvalidAnalysisStateException
projectName
- The name of the project to be stopped.
InvalidAnalysisStateException
- If the analysis is in an invalid state to be stopped.public void emergencyShutdown(String projectName) throws InvalidAnalysisStateException
projectName
- The name of the project.
InvalidAnalysisStateException
- If the analysis is in an invalid state for the operation.public Object[] getLogEntries(String projectName) throws InvalidAnalysisStateException
projectName
- The name of the project.
InvalidAnalysisStateException
- If the analysis is in an invalid state to deliver the entries.public Object getDisplay(String projectName, String viewName, String displayName) throws InvalidAnalysisStateException
AbstractDisplay
, but in fact the project specific class loader has been used.
projectName
- The name of the project.viewName
- The name of the view.displayName
- The name of the display.
InvalidAnalysisStateException
- If the analysis is in an invalid state to deliver the displays.public kieker.analysis.AnalysisController.STATE getCurrentState(String projectName)
projectName
- The name of the project.
public DisplayType getDisplayType(String projectName, String viewName, String displayConnectorName)
projectName
- The name of the project.viewName
- The name of the view.displayConnectorName
- The name of the display connector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |