Interface MultipleNodeDescribingParameterDefinition
- All Known Implementing Classes:
LabelParameterDefinition
,NodeParameterDefinition
public interface MultipleNodeDescribingParameterDefinition
- Author:
- Dominik Bartholdi (imod)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the wrapper to trigger the next buildgetName()
The name of the parametergets the strategy which decides whether a node should be ignored or notGet the requested build result definitionvoid
validateBuild
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Callback to allow the parameter definition to do a final validation if everything is OK to proceed.
-
Method Details
-
getTriggerIfResult
String getTriggerIfResult()Get the requested build result definition- Returns:
- build result string that will trigger the job
-
getName
String getName()The name of the parameter- Returns:
- the name of the parameter
-
getNodeEligibility
NodeEligibility getNodeEligibility()gets the strategy which decides whether a node should be ignored or not- Returns:
- the eligibility definition
-
validateBuild
Callback to allow the parameter definition to do a final validation if everything is OK to proceed. Implementations are asked to throw a runtime exception if something is not OK and the build should be stopped.- Parameters:
build
- build to be validatedlauncher
- build launcherlistener
- provides access to the log stream
-
createBuildWrapper
TriggerNextBuildWrapper createBuildWrapper()Returns the wrapper to trigger the next build- Returns:
null
if there is no new build to be triggered.
-