public final class FilesFoundTrigger
extends hudson.triggers.Trigger<hudson.model.BuildableItem>
Modifier and Type | Class and Description |
---|---|
static class |
FilesFoundTrigger.ConverterImpl
Converter implementation for XStream. |
static class |
FilesFoundTrigger.DescriptorImpl
Registers
FilesFoundTrigger as a Trigger extension. |
Constructor and Description |
---|
FilesFoundTrigger(String spec,
List<FilesFoundTriggerConfig> configs)
Create a new
FilesFoundTrigger . |
Modifier and Type | Method and Description |
---|---|
List<FilesFoundTriggerConfig> |
getConfigs()
Get the list of configured file patterns.
|
void |
run() |
String |
toString() |
@DataBoundConstructor public FilesFoundTrigger(String spec, List<FilesFoundTriggerConfig> configs) throws antlr.ANTLRException
FilesFoundTrigger
.spec
- crontab specification that defines how often to pollconfigs
- the list of configured file patternsantlr.ANTLRException
- if unable to parse the crontab specificationpublic List<FilesFoundTriggerConfig> getConfigs()
FilesFoundTriggerConfig
public void run()
run
in class hudson.triggers.Trigger<hudson.model.BuildableItem>
Copyright © 2016–2017. All rights reserved.