|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.AbstractItem
hudson.model.Job<JobT,RunT>
hudson.model.ViewJob<TemplatesWorkflowJob,TemplateswWorkflowRun>
org.jenkins.plugin.templateWorkflows.TemplatesWorkflowJob
public class TemplatesWorkflowJob
| Nested Class Summary | |
|---|---|
static class |
TemplatesWorkflowJob.DescriptorImpl
|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu |
|---|
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem |
| Field Summary |
|---|
| Fields inherited from class hudson.model.ViewJob |
|---|
reloadPeriodically, runs |
| Fields inherited from class hudson.model.Job |
|---|
HISTORY_ADAPTER, nextBuildNumber, properties |
| Fields inherited from class hudson.model.AbstractItem |
|---|
description, displayName, name, PRONOUN |
| Fields inherited from interface hudson.model.Item |
|---|
BUILD, CANCEL, CONFIGURE, CREATE, DELETE, DISCOVER, EXTENDED_READ, PERMISSIONS, READ, WIPEOUT, WORKSPACE |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
TemplatesWorkflowJob(hudson.model.ItemGroup itemGroup,
String name)
|
|
| Method Summary | |
|---|---|
net.sf.json.JSONObject |
deleteInstance(String instanceName)
|
net.sf.json.JSONObject |
executeWorkflow(String workflowName)
|
hudson.model.TopLevelItemDescriptor |
getDescriptor()
|
hudson.model.Hudson |
getParent()
|
String |
getProjectDesc()
|
String |
getTemplateInstanceName()
|
Collection<TemplateWorkflowInstance> |
getTemplateInstances()
|
String |
getTemplateName()
|
Set<String> |
getTemplateNames()
|
net.sf.json.JSONObject |
refresh(String templateName)
|
protected void |
reload()
|
net.sf.json.JSONObject |
setTemplateInstanceName(String instanceName)
|
void |
submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
net.sf.json.JSONObject |
validateJobIsNotRunning(String jobName)
|
net.sf.json.JSONObject |
validateJobName(String newJobName,
boolean allowUseOfExistingJob)
|
net.sf.json.JSONObject |
validateTemplateName(String instanceNewName)
|
| Methods inherited from class hudson.model.ViewJob |
|---|
_getRuns, isBuildable, onLoad, removeRun |
| Methods inherited from class hudson.model.Job |
|---|
addProperty, assignBuildNumber, createHistoryWidget, doBuildStatus, doConfigSubmit, doDescription, doDoRename, doRssAll, doRssFailed, getACL, getAllJobs, getAllProperties, getBuild, getBuildByNumber, getBuildDir, getBuildForCLI, getBuildHealth, getBuildHealthReports, getBuilds, getBuilds, getBuildsAsMap, getBuildsByTimestamp, getBuildStatusUrl, getBuildTimeGraph, getDynamic, getEstimatedDuration, getFirstBuild, getIconColor, getLastBuild, getLastBuildsOverThreshold, getLastCompletedBuild, getLastFailedBuild, getLastStableBuild, getLastSuccessfulBuild, getLastUnstableBuild, getLastUnsuccessfulBuild, getLogRotator, getNearestBuild, getNearestOldBuild, getNextBuildNumber, getOverrides, getPermalinks, getPronoun, getProperties, getProperty, getProperty, getQueueItem, getTimeline, getWidgets, isBuilding, isHoldOffBuildUntilSave, isInQueue, isKeepDependencies, isLogUpdated, isNameEditable, logRotate, makeSearchIndex, onCopiedFrom, performDelete, removeProperty, removeProperty, renameTo, save, saveNextBuildNumber, setLogRotator, supportsLogRotator, updateNextBuildNumber |
| Methods inherited from class hudson.model.AbstractItem |
|---|
checkPermission, delete, delete, doConfigDotXml, doDoDelete, doSetName, doSubmitDescription, getAbsoluteUrl, getApi, getConfigFile, getDescription, getDescriptorByName, getDisplayName, getDisplayNameOrNull, getFullDisplayName, getFullName, getName, getRelativeNameFrom, getRelativeNameFrom, getRootDir, getSearchName, getSearchUrl, getShortUrl, getUrl, hasPermission, onCreatedFromScratch, resolveForCLI, setDescription, setDisplayName, setDisplayNameOrNull, toString, updateByXml, updateByXml |
| Methods inherited from class hudson.model.Actionable |
|---|
addAction, doContextMenu, getAction, getAction, getActions, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hudson.model.Item |
|---|
delete, getAbsoluteUrl, getAllJobs, getDisplayName, getFullDisplayName, getFullName, getName, getRelativeNameFrom, getRelativeNameFrom, getShortUrl, getUrl, onCopiedFrom, onCreatedFromScratch, onLoad, save |
| Methods inherited from interface hudson.model.PersistenceRoot |
|---|
getRootDir |
| Methods inherited from interface hudson.search.SearchableModelObject |
|---|
getSearch |
| Methods inherited from interface hudson.search.SearchItem |
|---|
getSearchIndex, getSearchName, getSearchUrl |
| Methods inherited from interface hudson.security.AccessControlled |
|---|
checkPermission, getACL, hasPermission |
| Constructor Detail |
|---|
public TemplatesWorkflowJob(hudson.model.ItemGroup itemGroup,
String name)
| Method Detail |
|---|
public String getTemplateName()
public String getTemplateInstanceName()
public Collection<TemplateWorkflowInstance> getTemplateInstances()
public String getProjectDesc()
public Set<String> getTemplateNames()
public hudson.model.Hudson getParent()
getParent in interface hudson.model.ItemgetParent in class hudson.model.AbstractItem
public void submit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
submit in class hudson.model.ViewJob<TemplatesWorkflowJob,TemplateswWorkflowRun>IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormExceptionpublic hudson.model.TopLevelItemDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.TopLevelItem>getDescriptor in interface hudson.model.TopLevelItem@JavaScriptMethod public net.sf.json.JSONObject setTemplateInstanceName(String instanceName)
@JavaScriptMethod
public net.sf.json.JSONObject executeWorkflow(String workflowName)
throws IOException,
InterruptedException
IOException
InterruptedException
@JavaScriptMethod
public net.sf.json.JSONObject deleteInstance(String instanceName)
throws IOException,
InterruptedException
IOException
InterruptedException
@JavaScriptMethod
public net.sf.json.JSONObject validateJobName(String newJobName,
boolean allowUseOfExistingJob)
@JavaScriptMethod public net.sf.json.JSONObject validateJobIsNotRunning(String jobName)
@JavaScriptMethod public net.sf.json.JSONObject validateTemplateName(String instanceNewName)
@JavaScriptMethod public net.sf.json.JSONObject refresh(String templateName)
protected void reload()
reload in class hudson.model.ViewJob<TemplatesWorkflowJob,TemplateswWorkflowRun>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||