|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.projectbrowser.page.dailyprojectdata.DailyProjectDataSession
public class DailyProjectDataSession
Session instance for the daily project data page to hold its state.
Field Summary | |
---|---|
static java.lang.String |
ANALYSIS_KEY
The parameter key of dpd analysis. |
static java.lang.String |
DATE_KEY
The parameter key of date. |
static java.lang.String |
PARAMETER_ORDER_MESSAGE
The parameter instruction message. |
static java.lang.String |
SELECTED_PROJECTS_KEY
The parameter key of selectedProjects. |
Constructor Summary | |
---|---|
DailyProjectDataSession()
Initialize this session, including the list of context-sensitive menus. |
Method Summary | |
---|---|
void |
clearDataModels()
Sets all analysis data models to their empty state. |
void |
clearParamErrorMessage()
Clears the paramErrorMessage. |
java.lang.String |
getAnalysis()
Gets the selected analysis. |
java.util.List<java.lang.String> |
getAnalysisList()
Returns the list of possible analyses. |
static java.lang.String |
getAssociatedDpdAnalysis(java.lang.String telemetryName)
Return the associated DPD analysis with the given telemetry. |
BuildDataModel |
getBuildDataModel()
Gets the Build model associated with this session. |
CommitDataModel |
getCommitDataModel()
Gets the Commit model associated with this session. |
ComplexityDataModel |
getComplexityDataModel()
Gets the Complexity model associated with this session. |
ContextSensitiveMenu |
getContextSensitiveMenu(java.lang.String name)
Gets the context sensitive menu with the passed name, or null if not found. |
java.util.List<ContextSensitiveMenu> |
getContextSensitiveMenus()
Gets all context sensitive menus. |
ContextSensitivePanel |
getContextSensitivePanel()
Get the context sensitive panel holding the context sensitive menus. |
CouplingDataModel |
getCouplingDataModel()
Gets the Coupling model associated with this session. |
CoverageDataModel |
getCoverageDataModel()
Get the Coverage data model. |
java.util.Date |
getDate()
Gets the date associated with this page. |
java.lang.String |
getDateString()
Returns the current date in yyyy-MM-dd format. |
DevTimeDataModel |
getDevTimeDataModel()
Gets the DevTime model associated with this session. |
java.lang.String |
getFeedback()
Gets the feedback string, and also clears it. |
FileMetricDataModel |
getFileMetricDataModel()
Gets the FileMetric model associated with this session. |
IssueDataModel |
getIssueDataModel()
Gets the Issue model associated with this session. |
org.apache.wicket.PageParameters |
getPageParameters()
Returns a PageParameters instance that represents the content of the input form. |
java.lang.String |
getParamErrorMessage()
|
java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.Project> |
getSelectedProjects()
Returns the list of projects selected by the user. |
UnitTestDataModel |
getUnitTestDataModel()
Gets the Unit test model associated with this session. |
boolean |
loadPageParameters(org.apache.wicket.PageParameters parameters)
Load data from URL parameters into this session. |
void |
setAnalysis(java.lang.String analysis)
Sets the selected analysis. |
void |
setContextSensitivePanel(ContextSensitivePanel panel)
Sets the panel containing the context sensitive menus. |
void |
setDate(java.util.Date date)
Sets the date associated with this page. |
void |
setFeedback(java.lang.String feedback)
Sets the feedback string. |
void |
setSelectedProjects(java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.Project> projects)
Sets the set of selected projects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ANALYSIS_KEY
public static final java.lang.String DATE_KEY
public static final java.lang.String SELECTED_PROJECTS_KEY
public static final java.lang.String PARAMETER_ORDER_MESSAGE
Constructor Detail |
---|
public DailyProjectDataSession()
Method Detail |
---|
public static java.lang.String getAssociatedDpdAnalysis(java.lang.String telemetryName)
telemetryName
- the name of the given telemetry
public org.apache.wicket.PageParameters getPageParameters()
public boolean loadPageParameters(org.apache.wicket.PageParameters parameters)
parameters
- the URL parameters
public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- The date for this page.public java.lang.String getDateString()
public java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.Project> getSelectedProjects()
public void setSelectedProjects(java.util.List<org.hackystat.sensorbase.resource.projects.jaxb.Project> projects)
projects
- The projects.public void setAnalysis(java.lang.String analysis)
analysis
- The analysis to set.public java.lang.String getAnalysis()
public java.util.List<java.lang.String> getAnalysisList()
public void setFeedback(java.lang.String feedback)
feedback
- The feedback to set.public java.lang.String getFeedback()
public java.util.List<ContextSensitiveMenu> getContextSensitiveMenus()
public ContextSensitiveMenu getContextSensitiveMenu(java.lang.String name)
name
- The name of the context sensitive menu.
public ContextSensitivePanel getContextSensitivePanel()
public void setContextSensitivePanel(ContextSensitivePanel panel)
panel
- The panel.public CoverageDataModel getCoverageDataModel()
public UnitTestDataModel getUnitTestDataModel()
public CouplingDataModel getCouplingDataModel()
public ComplexityDataModel getComplexityDataModel()
public BuildDataModel getBuildDataModel()
public DevTimeDataModel getDevTimeDataModel()
public FileMetricDataModel getFileMetricDataModel()
public CommitDataModel getCommitDataModel()
public IssueDataModel getIssueDataModel()
public java.lang.String getParamErrorMessage()
public void clearParamErrorMessage()
public void clearDataModels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |