Package org.jenkinsci.plugins.envinject
Class EnvInjectPasswordWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
org.jenkinsci.plugins.envinject.EnvInjectPasswordWrapper
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
- Author:
- Gregory Boissinot
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecorateLogger
(AbstractBuild build, OutputStream outputStream) Deprecated.Provides a read-only list of password entry sets.boolean
boolean
void
makeBuildVariables
(AbstractBuild build, Map<String, String> variables) void
makeSensitiveBuildVariables
(AbstractBuild build, Set<String> sensitiveVariables) void
setInjectGlobalPasswords
(boolean injectGlobalPasswords) void
setMaskPasswordParameters
(boolean maskPasswordParameters) void
setPasswordEntries
(EnvInjectPasswordEntry[] passwordEntries) setUp
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, preCheckout, setUp
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
EnvInjectPasswordWrapper
@DataBoundConstructor public EnvInjectPasswordWrapper()
-
-
Method Details
-
isInjectGlobalPasswords
public boolean isInjectGlobalPasswords() -
isMaskPasswordParameters
public boolean isMaskPasswordParameters() -
setInjectGlobalPasswords
@DataBoundSetter public void setInjectGlobalPasswords(boolean injectGlobalPasswords) -
setMaskPasswordParameters
@DataBoundSetter public void setMaskPasswordParameters(boolean maskPasswordParameters) -
getPasswordEntries
@CheckForNull @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public EnvInjectPasswordEntry[] getPasswordEntries()Deprecated.UsegetPasswordEntryList()
insteadRetrieves raw array of password entries.- Returns:
- Array of password entries or
null
if the array is not specified
-
getPasswordEntryList
Provides a read-only list of password entry sets.- Returns:
- List of password entries.
- Since:
- TODO
-
setPasswordEntries
@DataBoundSetter public void setPasswordEntries(@CheckForNull EnvInjectPasswordEntry[] passwordEntries) -
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException - Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
decorateLogger
public OutputStream decorateLogger(AbstractBuild build, OutputStream outputStream) throws IOException, InterruptedException, Run.RunnerAbortedException - Overrides:
decorateLogger
in classBuildWrapper
- Throws:
IOException
InterruptedException
Run.RunnerAbortedException
-
makeSensitiveBuildVariables
- Overrides:
makeSensitiveBuildVariables
in classBuildWrapper
-
makeBuildVariables
- Overrides:
makeBuildVariables
in classBuildWrapper
-
getPasswordEntryList()
instead