org.jenkinsci.plugins.rundeck
Class RundeckTrigger
java.lang.Object
hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>
org.jenkinsci.plugins.rundeck.RundeckTrigger
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>
public class RundeckTrigger
- extends hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>
Triggers a build when we receive a WebHook notification from RunDeck.
- Author:
- Vincent Behar
| Nested classes/interfaces inherited from class hudson.triggers.Trigger |
hudson.triggers.Trigger.Cron |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.triggers.Trigger |
job, spec, tabs, timer |
| Methods inherited from class hudson.triggers.Trigger |
all, checkTriggers, for_, getProjectAction, getProjectActions, getSpec, init, readResolve, run, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RundeckTrigger
@DataBoundConstructor
public RundeckTrigger(Boolean filterJobs,
List<String> jobsIdentifiers,
List<String> executionStatuses)
onNotification
public void onNotification(org.rundeck.api.domain.RundeckExecution execution)
- Called when we receive a RunDeck notification
- Parameters:
execution - at the origin of the notification
getFilterJobs
public Boolean getFilterJobs()
getJobsIdentifiers
public List<String> getJobsIdentifiers()
getExecutionStatuses
public List<String> getExecutionStatuses()
getDescriptor
public RundeckTrigger.RundeckDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.triggers.Trigger<?>>- Overrides:
getDescriptor in class hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>
Copyright © 2004-2011. All Rights Reserved.