Package de.taimos.pipeline.aws
Class PluginImpl
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
de.taimos.pipeline.aws.PluginImpl
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
Global configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) static PluginImpl
Return the singleton instance.boolean
Whether or not to retrieve credentials from the node.void
setEnableCredentialsFromNode
(boolean enableCredentialsFromNode) Set enableCredentialsFromNode Default value is false.Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
PluginImpl
@DataBoundConstructor public PluginImpl()Default constructor.
-
-
Method Details
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classGlobalConfiguration
- Throws:
Descriptor.FormException
-
isEnableCredentialsFromNode
public boolean isEnableCredentialsFromNode()Whether or not to retrieve credentials from the node. Defaults to using the master's instance profile.- Returns:
- True if enabled.
-
getInstance
Return the singleton instance.- Returns:
- the one.
-
setEnableCredentialsFromNode
@DataBoundSetter public void setEnableCredentialsFromNode(boolean enableCredentialsFromNode) Set enableCredentialsFromNode Default value is false.- Parameters:
enableCredentialsFromNode
- whether to retrieve credentials from node or from master
-