Class ConfigFilesAction
- java.lang.Object
-
- org.jenkinsci.plugins.configfiles.ConfigFilesAction
-
- All Implemented Interfaces:
Action
,ModelObject
,org.kohsuke.stapler.StaplerProxy
public class ConfigFilesAction extends Object implements Action, org.kohsuke.stapler.StaplerProxy
handles a request like `http://localhost:8080/jenkins/job/myjob/configfiles/show?id=MY_FILE_ID` to allow the preview of a config file with the ID 'MY_FILE_ID' from a config screen.
-
-
Field Summary
Fields Modifier and Type Field Description static String
JELLY_RESOURCES_PATH
-
Constructor Summary
Constructors Constructor Description ConfigFilesAction(Job item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doShow(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String fileId, ItemGroup group)
String
getDisplayName()
String
getIconFileName()
Object
getTarget()
String
getUrlName()
-
-
-
Field Detail
-
JELLY_RESOURCES_PATH
public static final String JELLY_RESOURCES_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigFilesAction
public ConfigFilesAction(Job item)
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
doShow
public void doShow(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("id") String fileId, @AncestorInPath ItemGroup group) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-