Class AbstractBuildParameters
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AbstractBuildParameters>
-
- hudson.plugins.parameterizedtrigger.AbstractBuildParameters
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<AbstractBuildParameters>
- Direct Known Subclasses:
BooleanParameters
,CurrentBuildParameters
,FileBuildParameters
,MatrixSubsetBuildParameters
,NodeParameters
,PredefinedBuildParameters
,SubversionRevisionBuildParameters
public abstract class AbstractBuildParameters extends AbstractDescribableImpl<AbstractBuildParameters> implements ExtensionPoint
Extension point to produce anAction
to invoke child projects with. Primarily thatAction
isParametersAction
to define additional build parameters to pass, but it could be any otherAction
.- See Also:
Queue.schedule(Task, int, Action...)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractBuildParameters.DontTriggerException
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AbstractBuildParameters()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Action
getAction(AbstractBuild<?,?> build, TaskListener listener)
EnvVars
getEnvironment(AbstractBuild<?,?> build, TaskListener listener)
Retrieve the build environment from the upstream build-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getAction
public abstract Action getAction(AbstractBuild<?,?> build, TaskListener listener) throws IOException, InterruptedException, AbstractBuildParameters.DontTriggerException
- Parameters:
build
- The current in-progress build that's about to trigger other projects.listener
- Connected to the in-progress build of thebuild
parameter.- Throws:
IOException
InterruptedException
AbstractBuildParameters.DontTriggerException
-
getEnvironment
public EnvVars getEnvironment(AbstractBuild<?,?> build, TaskListener listener) throws IOException, InterruptedException
Retrieve the build environment from the upstream build- Throws:
IOException
InterruptedException
-
-