Class EphemeralSecretTextGlobalVariable

java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
io.jenkins.plugins.ephemeral_credentials.EphemeralSecretTextGlobalVariable
All Implemented Interfaces:
ExtensionPoint

@Extension public class EphemeralSecretTextGlobalVariable extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Registers ephemeralSecretText(id: ..., description: ...) as a global factory function - see EphemeralUsernamePasswordGlobalVariable for the general shape and why a precompiled Closure is fine here.
See Also:
  • Constructor Details

    • EphemeralSecretTextGlobalVariable

      public EphemeralSecretTextGlobalVariable()
  • Method Details

    • getName

      @NonNull public String getName()
      Specified by:
      getName in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
    • getValue

      @NonNull public Object getValue(@NonNull org.jenkinsci.plugins.workflow.cps.CpsScript script)
      Specified by:
      getValue in class org.jenkinsci.plugins.workflow.cps.GlobalVariable