Class GerritTriggerInformationAction
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions.GerritTriggerInformationAction
- All Implemented Interfaces:
Action,ModelObject
Action for setting information about the GerritTrigger on the project page.
- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the errorMessage.booleanConvenience method for the view.voidsetErrorMessage(String errorMessage) Setter for the errorMessage.
-
Constructor Details
-
GerritTriggerInformationAction
public GerritTriggerInformationAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
setErrorMessage
Setter for the errorMessage.- Parameters:
errorMessage- the error message.
-
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.
-