public class AgentClassLoadMetricsTable
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
AgentClassLoadMetricsTable()
Instantiates a new agent class load metrics.
|
AgentClassLoadMetricsTable(Project currProject)
Instantiates a new agent load metrics.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAgentLoadDescription(java.lang.String className,
double userPredictiveLoad,
double realMetric,
double realMetricMin,
double realMetricMax,
double realMetricAverage)
Adds the agent load description.
|
void |
addTableModelRow(AgentClassMetricDescription agentClass)
Adds a row to the table model.
|
void |
clearTableModel()
Clears the table model.
|
void |
copyRealMetricsAverage2RealMetrics()
Copy real metrics average to real metrics.
|
AgentClassMetricDescription |
getAgentClassMetricDescription(java.lang.String className)
Gets the agent class metric description.
|
java.util.Vector<AgentClassMetricDescription> |
getAgentClassMetricDescriptionVector()
Gets the agent class metric description vector.
|
int |
getIndexOfAgentClassMetricDescription(java.lang.String className)
Gets the index of agent class metric description.
|
Project |
getProject()
Returns the current project instance.
|
javax.swing.table.DefaultTableModel |
getTableModel()
Gets the table model.
|
boolean |
isUseRealLoadMetric()
Checks if is use real load metric.
|
void |
loadMetricsFromProject()
Load metrics settings from the current project.
|
AgentClassMetricDescription |
removeAgentClassMetricDescription(java.lang.String className)
Removes the agent class metric description.
|
void |
setAgentClassMetricDescription(java.util.Vector<AgentClassMetricDescription> agentClassMetricDescriptionVector)
Sets the agent class metric description vector.
|
void |
setProject(Project currProject)
Sets the current project instance.
|
void |
setUseRealLoadMetric(boolean useRealLoadMetric)
Sets the use real load metric.
|
public AgentClassLoadMetricsTable()
public void setProject(Project currProject)
currProject - the new projectpublic Project getProject()
public boolean isUseRealLoadMetric()
public void setUseRealLoadMetric(boolean useRealLoadMetric)
useRealLoadMetric - the useRealLoadMetric to setpublic java.util.Vector<AgentClassMetricDescription> getAgentClassMetricDescriptionVector()
public void setAgentClassMetricDescription(java.util.Vector<AgentClassMetricDescription> agentClassMetricDescriptionVector)
agentClassMetricDescriptionVector - the new agent load description vectorpublic void addAgentLoadDescription(java.lang.String className,
double userPredictiveLoad,
double realMetric,
double realMetricMin,
double realMetricMax,
double realMetricAverage)
className - the class nameuserPredictiveLoad - the user predictive metricrealMetricMin - the real metric minrealMetricMax - the real metric maxrealMetricAverage - the real metric averagepublic AgentClassMetricDescription removeAgentClassMetricDescription(java.lang.String className)
className - the class namepublic int getIndexOfAgentClassMetricDescription(java.lang.String className)
className - the class namepublic void copyRealMetricsAverage2RealMetrics()
public void loadMetricsFromProject()
public AgentClassMetricDescription getAgentClassMetricDescription(java.lang.String className)
className - the class namepublic javax.swing.table.DefaultTableModel getTableModel()
public void addTableModelRow(AgentClassMetricDescription agentClass)
agentClass - the agent classpublic void clearTableModel()