Class TemplateWorkflowInstances
- java.lang.Object
-
- hudson.model.JobProperty<TemplatesWorkflowJob>
-
- org.jenkins.plugin.templateWorkflows.TemplateWorkflowInstances
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
@ExportedBean public class TemplateWorkflowInstances extends JobProperty<TemplatesWorkflowJob>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TemplateWorkflowInstances.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.JobProperty
owner
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description TemplateWorkflowInstances()
TemplateWorkflowInstances(Map<String,TemplateWorkflowInstance> instances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateWorkflowInstance
get(String instanceName)
Map<String,TemplateWorkflowInstance>
getInstances()
Set<String>
keySet()
void
put(String instanceName, TemplateWorkflowInstance instance)
void
remove(String instanceName)
Collection<TemplateWorkflowInstance>
values()
-
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
-
-
-
-
Constructor Detail
-
TemplateWorkflowInstances
@DataBoundConstructor public TemplateWorkflowInstances(Map<String,TemplateWorkflowInstance> instances)
-
TemplateWorkflowInstances
public TemplateWorkflowInstances()
-
-
Method Detail
-
getInstances
@Exported public Map<String,TemplateWorkflowInstance> getInstances()
-
get
public TemplateWorkflowInstance get(String instanceName)
-
put
public void put(String instanceName, TemplateWorkflowInstance instance)
-
remove
public void remove(String instanceName)
-
values
public Collection<TemplateWorkflowInstance> values()
-
-