Class AbstractDisplayAction
- java.lang.Object
-
- org.jenkinsci.plugins.displayurlapi.actions.AbstractDisplayAction
-
- All Implemented Interfaces:
Action,ModelObject
- Direct Known Subclasses:
JobDisplayAction,RunDisplayAction
public abstract class AbstractDisplayAction extends Object implements Action
-
-
Constructor Summary
Constructors Constructor Description AbstractDisplayAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ObjectdoRedirect(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)StringgetDisplayName()StringgetIconFileName()protected abstract StringgetRedirectURL(DisplayURLProvider provider)StringgetUrlName()protected PreferredProviderUserPropertygetUserPreferredProviderProperty()
-
-
-
Field Detail
-
URL_NAME
public static final String URL_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
doRedirect
public final Object doRedirect(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
getRedirectURL
protected abstract String getRedirectURL(DisplayURLProvider provider)
-
getUserPreferredProviderProperty
protected PreferredProviderUserProperty getUserPreferredProviderProperty()
-
-