|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.triggers.Trigger<hudson.model.BuildableItem>
hudson.plugins.filesfoundtrigger.FilesFoundTrigger
public final class FilesFoundTrigger
Build trigger that schedules a build when certain files are found. These files are declared using Ant-style file patterns.
| Nested Class Summary | |
|---|---|
static class |
FilesFoundTrigger.ConverterImpl
Converter implementation for XStream. |
static class |
FilesFoundTrigger.DescriptorImpl
Registers FilesFoundTrigger as a Trigger extension. |
| Nested classes/interfaces inherited from class hudson.triggers.Trigger |
|---|
hudson.triggers.Trigger.Cron |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.triggers.Trigger |
|---|
job, spec, tabs, timer |
| Constructor Summary | |
|---|---|
FilesFoundTrigger(java.lang.String spec,
java.util.List<FilesFoundTriggerConfig> configs)
Create a new FilesFoundTrigger. |
|
| Method Summary | |
|---|---|
java.util.List<FilesFoundTriggerConfig> |
getConfigs()
Get the list of configured file patterns. |
void |
run()
|
java.lang.String |
toString()
|
| Methods inherited from class hudson.triggers.Trigger |
|---|
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, init, readResolve, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public FilesFoundTrigger(java.lang.String spec,
java.util.List<FilesFoundTriggerConfig> configs)
throws antlr.ANTLRException
FilesFoundTrigger.
spec - crontab specification that defines how often to pollconfigs - the list of configured file patterns
antlr.ANTLRException - if unable to parse the crontab specification| Method Detail |
|---|
public java.util.List<FilesFoundTriggerConfig> getConfigs()
FilesFoundTriggerConfigpublic void run()
run in class hudson.triggers.Trigger<hudson.model.BuildableItem>public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||