public class

MockAssignableWorkflowScheme

extends MockWorkflowScheme
implements AssignableWorkflowScheme
java.lang.Object
   ↳ com.atlassian.jira.workflow.MockWorkflowScheme
     ↳ com.atlassian.jira.workflow.MockAssignableWorkflowScheme

Summary

Nested Classes
class MockAssignableWorkflowScheme.MockBuilder  
Public Constructors
MockAssignableWorkflowScheme()
MockAssignableWorkflowScheme(Long id, String name)
MockAssignableWorkflowScheme(Long id, String name, String description)
MockAssignableWorkflowScheme(AssignableWorkflowScheme scheme)
Public Methods
@Nonnull AssignableWorkflowScheme.Builder builder()
Return a builder initialised with the state of the current workflow scheme.
boolean equals(Object o)
String getDescription()
The description of the workflow scheme.
String getName()
The name of the workflow scheme.
int hashCode()
boolean isDefault()
Is the scheme the system default.
boolean isDraft()
Is the scheme a draft.
MockAssignableWorkflowScheme setDefaultScheme(boolean defaultScheme)
MockAssignableWorkflowScheme setDescription(String description)
MockAssignableWorkflowScheme setName(String name)
static Function<AssignableWorkflowSchemeMockAssignableWorkflowScheme> toMock()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.workflow.MockWorkflowScheme
From class java.lang.Object
From interface com.atlassian.jira.workflow.AssignableWorkflowScheme
From interface com.atlassian.jira.workflow.WorkflowScheme

Public Constructors

public MockAssignableWorkflowScheme ()

public MockAssignableWorkflowScheme (Long id, String name)

public MockAssignableWorkflowScheme (Long id, String name, String description)

public MockAssignableWorkflowScheme (AssignableWorkflowScheme scheme)

Public Methods

@Nonnull public AssignableWorkflowScheme.Builder builder ()

Return a builder initialised with the state of the current workflow scheme.

Returns
  • a new builder initialised with the state of the current workflow scheme.

public boolean equals (Object o)

public String getDescription ()

The description of the workflow scheme.

Returns
  • the description of the workflow scheme.

public String getName ()

The name of the workflow scheme.

Returns
  • the name of the workflow scheme.

public int hashCode ()

public boolean isDefault ()

Is the scheme the system default.

Returns
  • true if this sceheme if the system default; false otherwise.

public boolean isDraft ()

Is the scheme a draft.

Returns
  • true if this sceheme is a draft; false otherwise.

public MockAssignableWorkflowScheme setDefaultScheme (boolean defaultScheme)

public MockAssignableWorkflowScheme setDescription (String description)

public MockAssignableWorkflowScheme setName (String name)

public static Function<AssignableWorkflowSchemeMockAssignableWorkflowScheme> toMock ()

public String toString ()