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 an
Action to invoke child projects with.
Primarily that Action is ParametersAction to define additional build parameters to pass, but
it could be any other Action.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ActiongetAction(AbstractBuild<?, ?> build, TaskListener listener) getEnvironment(AbstractBuild<?, ?> build, TaskListener listener) Retrieve the build environment from the upstream buildMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
AbstractBuildParameters
public AbstractBuildParameters()
-
-
Method Details
-
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 thebuildparameter.- Throws:
IOExceptionInterruptedExceptionAbstractBuildParameters.DontTriggerException
-
getEnvironment
public EnvVars getEnvironment(AbstractBuild<?, ?> build, TaskListener listener) throws IOException, InterruptedExceptionRetrieve the build environment from the upstream build- Throws:
IOExceptionInterruptedException
-