Class FileBuildParameters
java.lang.Object
hudson.model.AbstractDescribableImpl<AbstractBuildParameters>
hudson.plugins.parameterizedtrigger.AbstractBuildParameters
hudson.plugins.parameterizedtrigger.FileBuildParameters
- All Implemented Interfaces:
ExtensionPoint
,Describable<AbstractBuildParameters>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.plugins.parameterizedtrigger.AbstractBuildParameters
AbstractBuildParameters.DontTriggerException
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionFileBuildParameters
(String propertiesFile) FileBuildParameters
(String propertiesFile, boolean failTriggerOnMissing) FileBuildParameters
(String propertiesFile, String encoding, boolean failTriggerOnMissing) FileBuildParameters
(String propertiesFile, String encoding, boolean failTriggerOnMissing, boolean useMatrixChild, String combinationFilter, boolean onlyExactRuns) FileBuildParameters
(String propertiesFile, String encoding, boolean failTriggerOnMissing, boolean useMatrixChild, String combinationFilter, boolean onlyExactRuns, boolean textParamValueOnNewLine) -
Method Summary
Modifier and TypeMethodDescriptiongetAction
(AbstractBuild<?, ?> build, TaskListener listener) This function returns the Action that should be passed to the triggered build to not trigger the build it can throw theAbstractBuildParameters.DontTriggerException
boolean
boolean
boolean
boolean
Methods inherited from class hudson.plugins.parameterizedtrigger.AbstractBuildParameters
getEnvironment
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
FileBuildParameters
-
FileBuildParameters
-
FileBuildParameters
-
FileBuildParameters
-
FileBuildParameters
-
-
Method Details
-
getAction
public Action getAction(AbstractBuild<?, ?> build, TaskListener listener) throws IOException, InterruptedException, AbstractBuildParameters.DontTriggerExceptionThis function returns the Action that should be passed to the triggered build to not trigger the build it can throw theAbstractBuildParameters.DontTriggerException
- Specified by:
getAction
in classAbstractBuildParameters
- Parameters:
build
- The current in-progress build that's about to trigger other projects.listener
- Connected to the in-progress build of thebuild
parameter.- Returns:
- Action to be passed to the triggered build, can be Null if no parameters.
- Throws:
IOException
InterruptedException
AbstractBuildParameters.DontTriggerException
-
getPropertiesFile
-
getEncoding
-
getFailTriggerOnMissing
public boolean getFailTriggerOnMissing() -
getTextParamValueOnNewLine
public boolean getTextParamValueOnNewLine() -
isUseMatrixChild
public boolean isUseMatrixChild() -
getCombinationFilter
-
isOnlyExactRuns
public boolean isOnlyExactRuns()
-