Class WorkflowCapabilities.WorkflowCapabilitiesBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.WorkflowCapabilities.WorkflowCapabilitiesBuilder
- Enclosing class:
- WorkflowCapabilities
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectRules
(List<AvailableWorkflowConnectRule> connectRules) The Connect provided ecosystem rules available.editorScope
(WorkflowCapabilities.EditorScopeEnum editorScope) The scope of the workflow capabilities.forgeRules
(List<AvailableWorkflowForgeRule> forgeRules) The Forge provided ecosystem rules available.projectTypes
(WorkflowCapabilities.ProjectTypesEnum projectTypes) The types of projects that this capability set is available for.systemRules
(List<AvailableWorkflowSystemRule> systemRules) The Atlassian provided system rules available.toString()
triggerRules
(List<AvailableWorkflowTriggers> triggerRules) The trigger rules available.
-
Method Details
-
connectRules
public WorkflowCapabilities.WorkflowCapabilitiesBuilder connectRules(List<AvailableWorkflowConnectRule> connectRules) The Connect provided ecosystem rules available.- Returns:
this
.
-
editorScope
public WorkflowCapabilities.WorkflowCapabilitiesBuilder editorScope(WorkflowCapabilities.EditorScopeEnum editorScope) The scope of the workflow capabilities.GLOBAL
for company-managed projects andPROJECT
for team-managed projects.- Returns:
this
.
-
forgeRules
public WorkflowCapabilities.WorkflowCapabilitiesBuilder forgeRules(List<AvailableWorkflowForgeRule> forgeRules) The Forge provided ecosystem rules available.- Returns:
this
.
-
projectTypes
public WorkflowCapabilities.WorkflowCapabilitiesBuilder projectTypes(WorkflowCapabilities.ProjectTypesEnum projectTypes) The types of projects that this capability set is available for.- Returns:
this
.
-
systemRules
public WorkflowCapabilities.WorkflowCapabilitiesBuilder systemRules(List<AvailableWorkflowSystemRule> systemRules) The Atlassian provided system rules available.- Returns:
this
.
-
triggerRules
public WorkflowCapabilities.WorkflowCapabilitiesBuilder triggerRules(List<AvailableWorkflowTriggers> triggerRules) The trigger rules available.- Returns:
this
.
-
build
-
toString
-