Class PluginImpl

All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, OnMaster

@Extension @Symbol("pipelineStepsAWS") public class PluginImpl extends GlobalConfiguration
Global configuration
  • 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 class GlobalConfiguration
      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

      @Nonnull public static PluginImpl 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