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 Object
doRedirect(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getDisplayName()
String
getIconFileName()
protected abstract String
getRedirectURL(DisplayURLProvider provider)
String
getUrlName()
-
-
-
Field Detail
-
URL_NAME
public static final String URL_NAME
- See Also:
- Constant Field Values
-
-
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
-
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)
-
-