|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.service.impl.utility.Analysis
public final class Analysis
This class represents an initialized analysis within the web application. It encapsulates an AnalysisController
instance, which have been loaded via the
reflection API. It manages the access to the controller and handles the necessary display objects.
Constructor Summary | |
---|---|
Analysis(String projectName,
IProjectDAO projectDAO)
Creates a new analysis using the given parameters. |
Method Summary | |
---|---|
void |
emergencyShutdown()
Initializes an emergency shutdown. |
kieker.analysis.AnalysisController.STATE |
getCurrentState()
Delivers the current state of the analysis. |
Object |
getDisplay(String viewName,
String displayName)
This method delivers the display object of the (currently running) analysis. |
DisplayType |
getDisplayType(String viewName,
String displayConnectorName)
Delivers the type of the given display connector. |
Object[] |
getLogEntries()
Delivers the log entries for the current analysis. |
void |
reloadDisplays(String projectName,
IProjectDAO projectDAO)
Reloads the displays of the given project. |
void |
start()
Starts the analysis. |
void |
stop()
Stops the analysis. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Analysis(String projectName, IProjectDAO projectDAO) throws AnalysisInitializationException, ProjectNotExistingException, IOException
projectName
- The name of the project.projectDAO
- The data access object for the projects.
AnalysisInitializationException
- If an error occurred during the instantiation of the analysis.
IOException
- If something went wrong while loading the file.
ProjectNotExistingException
- If a project with the given name does not exist.Method Detail |
---|
public void emergencyShutdown()
public void reloadDisplays(String projectName, IProjectDAO projectDAO) throws AnalysisDisplayReloadException
projectName
- The name of the project.projectDAO
- The data access object for the projects.
AnalysisDisplayReloadException
- If something went wrong while reloading the displays.public void start()
public void stop()
public kieker.analysis.AnalysisController.STATE getCurrentState()
public Object getDisplay(String viewName, String displayName)
AbstractDisplay
, but in fact the project
specific class loader has been used.
viewName
- The name of the view.displayName
- The name of the display.
public Object[] getLogEntries()
public DisplayType getDisplayType(String viewName, String displayConnectorName)
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 |