@Extension(ordinal=1000.0)
public static final class RundeckNotifier.RundeckDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Constructor and Description |
|---|
RundeckNotifier.RundeckDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckJobIdentifier(String jobIdentifier) |
hudson.util.FormValidation |
doTestConnection(String url,
String login,
String password,
String token,
Integer apiversion) |
static org.rundeck.api.domain.RundeckJob |
findJob(String jobIdentifier,
org.rundeck.api.RundeckClient rundeckInstance)
Find a
RundeckJob with the given identifier |
String |
getDisplayName() |
org.rundeck.api.RundeckClient |
getRundeckInstance() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
hudson.tasks.Publisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
void |
setRundeckInstance(org.rundeck.api.RundeckClient rundeckInstance) |
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMappublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doTestConnection(@QueryParameter(value="rundeck.url")
String url,
@QueryParameter(value="rundeck.login")
String login,
@QueryParameter(value="rundeck.password")
String password,
@QueryParameter(value="rundeck.authtoken",fixEmpty=true)
String token,
@QueryParameter(value="rundeck.apiversion",fixEmpty=true)
Integer apiversion)
public hudson.util.FormValidation doCheckJobIdentifier(@QueryParameter(value="jobIdentifier")
String jobIdentifier)
public static org.rundeck.api.domain.RundeckJob findJob(String jobIdentifier, org.rundeck.api.RundeckClient rundeckInstance) throws org.rundeck.api.RundeckApiException, IllegalArgumentException
RundeckJob with the given identifierjobIdentifier - either a simple ID, an UUID or a reference (project:group/name)rundeckInstance - RundeckJob found, or null if not foundorg.rundeck.api.RundeckApiException - in case of error, or if no job with this IDIllegalArgumentException - if the identifier is not validpublic boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public org.rundeck.api.RundeckClient getRundeckInstance()
public void setRundeckInstance(org.rundeck.api.RundeckClient rundeckInstance)
Copyright © 2004-2014. All Rights Reserved.