org.jenkinsci.plugins.jobmail.actions
Class JobMailBaseAction

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by org.jenkinsci.plugins.jobmail.actions.JobMailBaseAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, jenkins.model.ModelObjectWithContextMenu
Direct Known Subclasses:
JobMailProjectAction

public class JobMailBaseAction
extends hudson.model.Actionable
implements hudson.model.Action

Base action class which other action classes extend. Contains some methods that are common for all actions, like name, icon url and so on.

Author:
yboev

Nested Class Summary
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
Constructor Summary
JobMailBaseAction()
           
 
Method Summary
 String getDisplayName()
          The display name for the action.
 String getIconFileName()
          The icon for this action.
 String getSearchUrl()
          Search url for this action.
 String getUrlName()
          The url for this action.
 
Methods inherited from class hudson.model.Actionable
addAction, doContextMenu, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobMailBaseAction

public JobMailBaseAction()
Method Detail

getDisplayName

public final String getDisplayName()
The display name for the action.

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject
Returns:
the name as String

getIconFileName

public final String getIconFileName()
The icon for this action.

Specified by:
getIconFileName in interface hudson.model.Action
Returns:
the icon file as String

getUrlName

public String getUrlName()
The url for this action.

Specified by:
getUrlName in interface hudson.model.Action
Returns:
the url as String

getSearchUrl

public String getSearchUrl()
Search url for this action.

Specified by:
getSearchUrl in interface hudson.search.SearchItem
Returns:
the url as String


Copyright © 2004-2013. All Rights Reserved.