Class CreateWorkflowTransitionDetailsRules
java.lang.Object
io.github.primelib.jira4j.restv2.model.CreateWorkflowTransitionDetailsRules
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateWorkflowTransitionDetailsRules
extends Object
CreateWorkflowTransitionDetailsRules
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CreateWorkflowTransitionRule>The workflow post functions.protected List<CreateWorkflowTransitionRule>The workflow validators. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateWorkflowTransitionDetailsRules(CreateWorkflowTransitionRulesDetailsConditions conditions, List<CreateWorkflowTransitionRule> postFunctions, List<CreateWorkflowTransitionRule> validators) Constructs a validated instance ofCreateWorkflowTransitionDetailsRules.Constructs a validated instance ofCreateWorkflowTransitionDetailsRules. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()The workflow post functions.postFunctions(List<CreateWorkflowTransitionRule> postFunctions) The workflow post functions.toString()The workflow validators.validators(List<CreateWorkflowTransitionRule> validators) The workflow validators.
-
Field Details
-
conditions
-
postFunctions
The workflow post functions. **Note:** The default post functions are always added to the *initial* transition, as in: "postFunctions": [ { "type": "IssueCreateFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "1", "name": "issue_created" } } } ] **Note:** The default post functions are always added to the *global* and *directed* transitions, as in: "postFunctions": [ { "type": "UpdateIssueStatusFunction" }, { "type": "CreateCommentFunction" }, { "type": "GenerateChangeHistoryFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "13", "name": "issue_generic" } } } ] -
validators
The workflow validators. **Note:** The default permission validator is always added to the *initial* transition, as in: "validators": [ { "type": "PermissionValidator", "configuration": { "permissionKey": "CREATE_ISSUES" } } ]
-
-
Constructor Details
-
CreateWorkflowTransitionDetailsRules
Constructs a validated instance ofCreateWorkflowTransitionDetailsRules.- Parameters:
spec- the specification to process
-
CreateWorkflowTransitionDetailsRules
@Internal public CreateWorkflowTransitionDetailsRules(CreateWorkflowTransitionRulesDetailsConditions conditions, List<CreateWorkflowTransitionRule> postFunctions, List<CreateWorkflowTransitionRule> validators) Constructs a validated instance ofCreateWorkflowTransitionDetailsRules.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CreateWorkflowTransitionDetailsRules(Consumer)instead.- Parameters:
conditions- conditionspostFunctions- The workflow post functions. **Note:** The default post functions are always added to the *initial* transition, as in: "postFunctions": [ { "type": "IssueCreateFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "1", "name": "issue_created" } } } ] **Note:** The default post functions are always added to the *global* and *directed* transitions, as in: "postFunctions": [ { "type": "UpdateIssueStatusFunction" }, { "type": "CreateCommentFunction" }, { "type": "GenerateChangeHistoryFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "13", "name": "issue_generic" } } } ]validators- The workflow validators. **Note:** The default permission validator is always added to the *initial* transition, as in: "validators": [ { "type": "PermissionValidator", "configuration": { "permissionKey": "CREATE_ISSUES" } } ]
-
CreateWorkflowTransitionDetailsRules
protected CreateWorkflowTransitionDetailsRules()
-
-
Method Details
-
builder
public static CreateWorkflowTransitionDetailsRules.CreateWorkflowTransitionDetailsRulesBuilder builder() -
conditions
-
postFunctions
The workflow post functions. **Note:** The default post functions are always added to the *initial* transition, as in: "postFunctions": [ { "type": "IssueCreateFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "1", "name": "issue_created" } } } ] **Note:** The default post functions are always added to the *global* and *directed* transitions, as in: "postFunctions": [ { "type": "UpdateIssueStatusFunction" }, { "type": "CreateCommentFunction" }, { "type": "GenerateChangeHistoryFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "13", "name": "issue_generic" } } } ] -
validators
The workflow validators. **Note:** The default permission validator is always added to the *initial* transition, as in: "validators": [ { "type": "PermissionValidator", "configuration": { "permissionKey": "CREATE_ISSUES" } } ] -
conditions
public CreateWorkflowTransitionDetailsRules conditions(CreateWorkflowTransitionRulesDetailsConditions conditions) - Returns:
this.
-
postFunctions
public CreateWorkflowTransitionDetailsRules postFunctions(List<CreateWorkflowTransitionRule> postFunctions) The workflow post functions. **Note:** The default post functions are always added to the *initial* transition, as in: "postFunctions": [ { "type": "IssueCreateFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "1", "name": "issue_created" } } } ] **Note:** The default post functions are always added to the *global* and *directed* transitions, as in: "postFunctions": [ { "type": "UpdateIssueStatusFunction" }, { "type": "CreateCommentFunction" }, { "type": "GenerateChangeHistoryFunction" }, { "type": "IssueReindexFunction" }, { "type": "FireIssueEventFunction", "configuration": { "event": { "id": "13", "name": "issue_generic" } } } ]- Returns:
this.
-
validators
public CreateWorkflowTransitionDetailsRules validators(List<CreateWorkflowTransitionRule> validators) The workflow validators. **Note:** The default permission validator is always added to the *initial* transition, as in: "validators": [ { "type": "PermissionValidator", "configuration": { "permissionKey": "CREATE_ISSUES" } } ]- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-