Klasse GetWorkflowOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetWorkflowOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class GetWorkflowOperationSpec extends Object
GetWorkflowSpec

Specification for the GetWorkflow operation.

Get issue types for workflows in workflow scheme

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • GetWorkflowOperationSpec

      @Internal public GetWorkflowOperationSpec(Consumer<GetWorkflowOperationSpec> spec)
      Constructs a validated instance of GetWorkflowOperationSpec.
      Parameter:
      spec - the specification to process
    • GetWorkflowOperationSpec

      @Internal public GetWorkflowOperationSpec(Long id, String workflowName, Boolean returnDraftIfExists)
      Constructs a validated instance of GetWorkflowOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The ID of the workflow scheme.
      workflowName - The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
      returnDraftIfExists - Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
    • GetWorkflowOperationSpec

      protected GetWorkflowOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull Long id()
      The ID of the workflow scheme.
    • workflowName

      @Nullable public @Nullable String workflowName()
      The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
    • returnDraftIfExists

      @Nullable public @Nullable Boolean returnDraftIfExists()
      Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
    • id

      public GetWorkflowOperationSpec id(@NotNull @NotNull Long id)
      The ID of the workflow scheme.
      Gibt zurück:
      this.
    • workflowName

      public GetWorkflowOperationSpec workflowName(@Nullable @Nullable String workflowName)
      The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
      Gibt zurück:
      this.
    • returnDraftIfExists

      public GetWorkflowOperationSpec returnDraftIfExists(@Nullable @Nullable Boolean returnDraftIfExists)
      Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object