public class OntrackMultiTrigger
extends hudson.triggers.Trigger<hudson.model.Job>
Modifier and Type | Class and Description |
---|---|
static class |
OntrackMultiTrigger.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
FAILURE |
static String |
SUCCESS |
static String |
UNSTABLE |
Constructor and Description |
---|
OntrackMultiTrigger(String spec,
List<TriggerDefinition> triggers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<TriggerDefinition> |
getTriggers() |
void |
run() |
public static final String SUCCESS
public static final String FAILURE
public static final String UNSTABLE
@DataBoundConstructor public OntrackMultiTrigger(String spec, List<TriggerDefinition> triggers) throws antlr.ANTLRException
spec
- CRON specificationtriggers
- Trigger definitionsantlr.ANTLRException
- If CRON expression is not correctpublic List<TriggerDefinition> getTriggers()
public void run()
run
in class hudson.triggers.Trigger<hudson.model.Job>
Copyright © 2016–2023. All rights reserved.