Class GerritTriggerInformationAction
- java.lang.Object
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions.GerritTriggerInformationAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class GerritTriggerInformationAction extends Object implements Action
Action for setting information about the GerritTrigger on the project page.- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
-
-
Constructor Summary
Constructors Constructor Description GerritTriggerInformationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getErrorMessage()
Getter for the errorMessage.String
getIconFileName()
String
getUrlName()
boolean
hasErrorMessage()
Convenience method for the view.void
setErrorMessage(String errorMessage)
Setter for the errorMessage.
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
setErrorMessage
public void setErrorMessage(String errorMessage)
Setter for the errorMessage.- Parameters:
errorMessage
- the error message.
-
getErrorMessage
public String getErrorMessage()
Getter for the errorMessage.- Returns:
- the error message.
-
hasErrorMessage
public boolean hasErrorMessage()
Convenience method for the view.- Returns:
- true if there is an error message.
-
-