Class GerritDependencyAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.dependency.GerritDependencyAction
-
- All Implemented Interfaces:
Action
,EnvironmentContributingAction
,ModelObject
public class GerritDependencyAction extends InvisibleAction implements EnvironmentContributingAction
Adds Action that stores the data about dependency jobs.
-
-
Constructor Summary
Constructors Constructor Description GerritDependencyAction(List<Run> runs)
Saves the important information about the parent runs to be persistent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvironment(Run<?,?> run, EnvVars env)
The same asbuildEnvVars
, but for Run.void
buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Method Detail
-
buildEnvironment
public void buildEnvironment(@NonNull Run<?,?> run, @NonNull EnvVars env)
The same asbuildEnvVars
, but for Run. Part of Core API since Jenkins 2.76. See https://issues.jenkins-ci.org/browse/JENKINS-29537 for more details.- Specified by:
buildEnvironment
in interfaceEnvironmentContributingAction
- Parameters:
run
- The calling build.env
- Environment variables should be added to this map.
-
buildEnvVars
public void buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
- Specified by:
buildEnvVars
in interfaceEnvironmentContributingAction
-
-