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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(AbstractBuild<?, ?> abstractBuild, EnvVars envVars) static voidsetVar(AbstractBuild build, String key, String value, PrintStream logger) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
buildEnvVarsin interfaceEnvironmentContributingAction
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-