Class SecurePostScriptConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.securepostscript.SecurePostScriptConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,OnMaster
@Extension public class SecurePostScriptConfiguration extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
-
Constructor Summary
Constructors Constructor Description SecurePostScriptConfiguration() -
Method Summary
Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)FormValidationdoCheckScriptContent(String value)static SecurePostScriptConfigurationget()ResultgetResultCondition()StringgetRunCondition()org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScriptgetSecureGroovyScript()voidsetSecureGroovyScript(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript secureGroovyScript)Together withgetSecureGroovyScript(), binds to entry inconfig.jelly.Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
SecurePostScriptConfiguration
public SecurePostScriptConfiguration()
-
-
Method Details
-
get
-
getSecureGroovyScript
public org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript getSecureGroovyScript() -
setSecureGroovyScript
@DataBoundSetter public void setSecureGroovyScript(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript secureGroovyScript)Together withgetSecureGroovyScript(), binds to entry inconfig.jelly.- Parameters:
secureGroovyScript- the new value of this field
-
getResultCondition
-
getRunCondition
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException- Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
doCheckScriptContent
-