public final class FilesFoundTriggerConfig extends hudson.model.AbstractDescribableImpl<FilesFoundTriggerConfig>
Modifier and Type | Class and Description |
---|---|
static class |
FilesFoundTriggerConfig.ConverterImpl
Converter implementation for XStream. |
static class |
FilesFoundTriggerConfig.DescriptorImpl
Descriptor for the
FilesFoundTriggerConfig class. |
Constructor and Description |
---|
FilesFoundTriggerConfig(String node,
String directory,
String files,
String ignoredFiles,
String triggerNumber)
Create a new
FilesFoundTriggerConfig . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static hudson.model.Descriptor<?> |
getClassDescriptor()
Get the descriptor of this class.
|
String |
getDirectory()
Get the base directory to use when locating files.
|
String |
getFiles()
Get the pattern of files to locate under the base directory.
|
String |
getIgnoredFiles()
Get the pattern of files to ignore when searching under the base directory.
|
String |
getNode()
Get the slave node on which to look for files, or
null if the
master will be used. |
String |
getTriggerNumber()
Get the minimum number of found files to trigger the build.
|
int |
hashCode() |
String |
toString() |
@DataBoundConstructor public FilesFoundTriggerConfig(String node, String directory, String files, String ignoredFiles, String triggerNumber)
FilesFoundTriggerConfig
.node
- the node on which to look for files (the master or a slave node)directory
- the base directory to use when locating filesfiles
- the pattern of files to locate under the base directoryignoredFiles
- the pattern of files to ignore when searching under the base
directorytriggerNumber
- the build is triggered when the number of files found is greater
than or equal to this number.public static hudson.model.Descriptor<?> getClassDescriptor()
FilesFoundTriggerConfig
descriptorpublic String getNode()
null
if the
master will be used.public String getDirectory()
public String getFiles()
public String getIgnoredFiles()
public String getTriggerNumber()
Copyright © 2016–2017. All rights reserved.