com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions
Class GerritTriggerInformationAction

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions.GerritTriggerInformationAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class GerritTriggerInformationAction
extends Object
implements hudson.model.Action

Action for setting information about the GerritTrigger on the project page.

Author:
Tomas Westling <tomas.westling@sonymobile.com>

Constructor Summary
GerritTriggerInformationAction()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GerritTriggerInformationAction

public GerritTriggerInformationAction()
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

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.


Copyright © 2004-2014. All Rights Reserved.