Class FileBuildParameters
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AbstractBuildParameters>
-
- hudson.plugins.parameterizedtrigger.AbstractBuildParameters
-
- hudson.plugins.parameterizedtrigger.FileBuildParameters
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<AbstractBuildParameters>
public class FileBuildParameters extends AbstractBuildParameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileBuildParameters.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.plugins.parameterizedtrigger.AbstractBuildParameters
AbstractBuildParameters.DontTriggerException
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FileBuildParameters(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction(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
String
getCombinationFilter()
String
getEncoding()
boolean
getFailTriggerOnMissing()
String
getPropertiesFile()
boolean
getTextParamValueOnNewLine()
boolean
isOnlyExactRuns()
boolean
isUseMatrixChild()
-
Methods inherited from class hudson.plugins.parameterizedtrigger.AbstractBuildParameters
getEnvironment
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
FileBuildParameters
@DataBoundConstructor public FileBuildParameters(String propertiesFile, String encoding, boolean failTriggerOnMissing, boolean useMatrixChild, String combinationFilter, boolean onlyExactRuns, boolean textParamValueOnNewLine)
-
FileBuildParameters
public FileBuildParameters(String propertiesFile, String encoding, boolean failTriggerOnMissing, boolean useMatrixChild, String combinationFilter, boolean onlyExactRuns)
-
FileBuildParameters
public FileBuildParameters(String propertiesFile, String encoding, boolean failTriggerOnMissing)
-
FileBuildParameters
public FileBuildParameters(String propertiesFile, boolean failTriggerOnMissing)
-
FileBuildParameters
public FileBuildParameters(String propertiesFile)
-
-
Method Detail
-
getAction
public Action getAction(AbstractBuild<?,?> build, TaskListener listener) throws IOException, InterruptedException, AbstractBuildParameters.DontTriggerException
This 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
public String getPropertiesFile()
-
getEncoding
public String getEncoding()
-
getFailTriggerOnMissing
public boolean getFailTriggerOnMissing()
-
getTextParamValueOnNewLine
public boolean getTextParamValueOnNewLine()
-
isUseMatrixChild
public boolean isUseMatrixChild()
-
getCombinationFilter
public String getCombinationFilter()
-
isOnlyExactRuns
public boolean isOnlyExactRuns()
-
-