public class RundeckTrigger extends Trigger<AbstractProject<?,?>>
Modifier and Type | Class and Description |
---|---|
static class |
RundeckTrigger.RundeckDescriptor |
Trigger.Cron
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
RundeckTrigger(Boolean filterJobs,
List<String> jobsIdentifiers,
List<String> executionStatuses,
Secret token) |
Modifier and Type | Method and Description |
---|---|
RundeckTrigger.RundeckDescriptor |
getDescriptor() |
List<String> |
getExecutionStatuses() |
Boolean |
getFilterJobs() |
List<String> |
getJobsIdentifiers() |
String |
getRandomValue() |
Secret |
getToken() |
Boolean |
isTokenConfigured() |
void |
onNotification(ExecutionData execution)
Called when we receive a Rundeck notification
|
boolean |
shouldScheduleBuild(ExecutionData execution,
String requestToken)
Filter notifications based on the
Execution and the trigger configuration |
org.jenkinsci.plugins.rundeck.RundeckTrigger.RundeckTriggerCheckResult |
validateExecution(ExecutionData execution) |
all, checkTriggers, for_, getProjectAction, getProjectActions, getSpec, readResolve, run, start, stop
public void onNotification(ExecutionData execution)
execution
- at the origin of the notificationpublic org.jenkinsci.plugins.rundeck.RundeckTrigger.RundeckTriggerCheckResult validateExecution(ExecutionData execution)
public boolean shouldScheduleBuild(ExecutionData execution, String requestToken) throws UnsupportedEncodingException
Execution
and the trigger configurationexecution
- at the origin of the notificationUnsupportedEncodingException
public Boolean isTokenConfigured()
public String getRandomValue()
public Boolean getFilterJobs()
public Secret getToken()
public RundeckTrigger.RundeckDescriptor getDescriptor()
getDescriptor
in interface Describable<Trigger<?>>
getDescriptor
in class Trigger<AbstractProject<?,?>>
Copyright © 2016–2022. All rights reserved.