@Extension
public class EnvInjectPluginConfiguration
extends jenkins.model.GlobalConfiguration
EnvInjectPlugin
.Constructor and Description |
---|
EnvInjectPluginConfiguration() |
EnvInjectPluginConfiguration(boolean hideInjectedVars,
boolean enablePermissions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
jenkins.model.GlobalConfigurationCategory |
getCategory() |
protected hudson.XmlFile |
getConfigFile() |
static EnvInjectPluginConfiguration |
getDefault()
Gets the default configuration of
EnvInjectPlugin |
static EnvInjectPluginConfiguration |
getInstance() |
static EnvInjectPluginConfiguration |
getOrFail()
Retrieves the EnvInject global configuration.
|
boolean |
isEnableLoadingFromMaster()
Check if the instance supports loading of scripts and property files from the master.
|
boolean |
isEnablePermissions() |
boolean |
isHideInjectedVars() |
all, getDescriptor, getDisplayName, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.0") public EnvInjectPluginConfiguration()
@Deprecated public EnvInjectPluginConfiguration(boolean hideInjectedVars, boolean enablePermissions)
EnvInjectPluginConfiguration(boolean, boolean, boolean)
public boolean isHideInjectedVars()
public boolean isEnablePermissions()
public boolean isEnableLoadingFromMaster()
true
if it is enabledEnvInjectJobPropertyInfo.loadFilesFromMaster
@Nonnull public static final EnvInjectPluginConfiguration getDefault()
EnvInjectPlugin
protected hudson.XmlFile getConfigFile()
getConfigFile
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
hudson.model.Descriptor.FormException
@CheckForNull public static EnvInjectPluginConfiguration getInstance()
@Nonnull public static EnvInjectPluginConfiguration getOrFail() throws org.jenkinsci.lib.envinject.EnvInjectException
org.jenkinsci.lib.envinject.EnvInjectException
- The configuration cannot be retrievedpublic jenkins.model.GlobalConfigurationCategory getCategory()
getCategory
in class jenkins.model.GlobalConfiguration
Copyright © 2016–2017. All rights reserved.