org.jenkinsci.plugins.readonly
Class JenkinsConfiguration
java.lang.Object
org.jenkinsci.plugins.readonly.JenkinsConfiguration
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction
@Extension
public class JenkinsConfiguration
- extends Object
- implements hudson.model.RootAction
Display Jenkins configuration page in read-only form
- Author:
- Lucie Votypkova
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JenkinsConfiguration
public JenkinsConfiguration()
compileScript
public org.apache.commons.jelly.Script compileScript()
- Compile script with a context for Jenkins class
- Returns:
- compiled script
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
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
- Throws:
IOException
transformToReadOnly
public void transformToReadOnly(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
- Transformation of html code which modify all formular's items to read-only
- Throws:
IOException
Copyright © 2004-2012. All Rights Reserved.