Package org.jenkinsci.plugins
Class EnvironmentVarSetter
java.lang.Object
org.jenkinsci.plugins.EnvironmentVarSetter
- All Implemented Interfaces:
Action
,EnvironmentContributingAction
,ModelObject
Created by Leo on 4/20/2016.
Helper to work with environment variables.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvVars
(AbstractBuild<?, ?> abstractBuild, EnvVars envVars) static void
setVar
(AbstractBuild build, String key, String value, PrintStream logger) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvironment
-
Field Details
-
buildDisplayNameVar
- See Also:
-
-
Constructor Details
-
EnvironmentVarSetter
public EnvironmentVarSetter(@CheckForNull String key, @CheckForNull String value, @CheckForNull PrintStream logger)
-
-
Method Details
-
setVar
-
setVar
-
getVar
-
buildEnvVars
- Specified by:
buildEnvVars
in interfaceEnvironmentContributingAction
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-