|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkieker.webgui.web.beans.view.CockpitBean
@Component @Scope(value="view") public final class CockpitBean
This class is a Spring
managed bean containing the necessary data behind an instance of the cockpit.
It has view scope to make sure that one user (even in one session) can open multiple projects at a time without causing any problems.
Constructor Summary | |
---|---|
CockpitBean()
Creates a new instance of this class. |
Method Summary | |
---|---|
kieker.analysis.model.analysisMetaModel.MIView |
getActiveView()
|
CockpitLayout |
getCockpitLayout()
|
DisplayType |
getDisplayType(String displayConnectorName)
Delivers the display type of the given connector name. |
MeterGaugeDisplaySettings |
getMeterGaugeDisplaySettings(String displayConnectorName)
Delivers the current meter gauge settings container for the given connector name. |
org.primefaces.model.chart.MeterGaugeChartModel |
getMeterGaugeUpdate(String displayConnectorName)
Delivers a meter gauge update for the given display connector. |
PieChartDisplaySettings |
getPieChartDisplaySettings(String displayConnectorName)
Delivers the current pie chart settings container for the given connector name. |
org.primefaces.model.chart.PieChartModel |
getPieChartUpdate(String displayConnectorName)
Delivers a pie chart update for the given display connector. |
String |
getPlainTextUpdate(String displayConnectorName)
Delivers a plain text update for the given display connector. |
kieker.analysis.model.analysisMetaModel.MIProject |
getProject()
|
String |
getProjectName()
|
String |
getSelectedDisplay()
|
org.primefaces.model.tagcloud.TagCloudModel |
getTagCloudUpdate(String displayConnectorName)
Delivers a tag cloud update for the given display connector. |
XYPlotDisplaySettings |
getXYPlotDisplaySettings(String displayConnectorName)
Delivers the current xy plot settings container for the given connector name. |
org.primefaces.model.chart.CartesianChartModel |
getXYPlotUpdate(String displayConnectorName)
Delivers a line chart update for the given display connector. |
void |
initalize()
This method initializes the bean by using the current project name to load the project. |
boolean |
isAnalysisFailed()
Checks whether the analysis is currently in the failed state. |
boolean |
isAnalysisNotAvailable()
Checks whether the analysis is not available. |
boolean |
isAnalysisReady()
Checks whether the analysis is currently in the ready state. |
boolean |
isAnalysisRunning()
Checks whether the analysis is currently running. |
boolean |
isAnalysisTerminated()
Checks whether the analysis is currently terminated. |
boolean |
isAnalysisTerminating()
Checks whether the analysis is currently terminating. |
void |
setActiveView(kieker.analysis.model.analysisMetaModel.MIView activeView)
|
void |
setProjectName(String newName)
|
void |
setSelectedDisplay(String selectedDisplay)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CockpitBean()
Method Detail |
---|
public void initalize()
public String getSelectedDisplay()
public void setSelectedDisplay(String selectedDisplay)
public void setActiveView(kieker.analysis.model.analysisMetaModel.MIView activeView)
public kieker.analysis.model.analysisMetaModel.MIView getActiveView()
public CockpitLayout getCockpitLayout()
public kieker.analysis.model.analysisMetaModel.MIProject getProject()
public void setProjectName(String newName)
public String getProjectName()
public MeterGaugeDisplaySettings getMeterGaugeDisplaySettings(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public XYPlotDisplaySettings getXYPlotDisplaySettings(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public PieChartDisplaySettings getPieChartDisplaySettings(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public String getPlainTextUpdate(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public org.primefaces.model.chart.MeterGaugeChartModel getMeterGaugeUpdate(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public org.primefaces.model.tagcloud.TagCloudModel getTagCloudUpdate(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public org.primefaces.model.chart.CartesianChartModel getXYPlotUpdate(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public org.primefaces.model.chart.PieChartModel getPieChartUpdate(String displayConnectorName)
displayConnectorName
- The name of the display connector.
public DisplayType getDisplayType(String displayConnectorName)
displayConnectorName
- The name of the display connector.
DisplayType.UNKNOWN
if the type could not be detected.public boolean isAnalysisRunning()
public boolean isAnalysisReady()
public boolean isAnalysisNotAvailable()
public boolean isAnalysisTerminated()
public boolean isAnalysisTerminating()
public boolean isAnalysisFailed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |