public class

MockDraftWorkflowScheme

extends MockWorkflowScheme
implements DraftWorkflowScheme
java.lang.Object
   ↳ com.atlassian.jira.workflow.MockWorkflowScheme
     ↳ com.atlassian.jira.workflow.MockDraftWorkflowScheme

Summary

Nested Classes
class MockDraftWorkflowScheme.MockBuilder  
Public Constructors
MockDraftWorkflowScheme()
MockDraftWorkflowScheme(Long id)
MockDraftWorkflowScheme(DraftWorkflowScheme ws)
MockDraftWorkflowScheme(Long l, AssignableWorkflowScheme parentScheme)
Public Methods
MockDraftWorkflowScheme.MockBuilder 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.
@Nonnull Date getLastModifiedDate()
The date the scheme was last updated (or created).
ApplicationUser getLastModifiedUser()
The user that last modified the scheme.
String getName()
The name of the workflow scheme.
AssignableWorkflowScheme getParentScheme()
Return a reference to the parent of the draft scheme.
int hashCode()
boolean isDefault()
Is the scheme the system default.
boolean isDraft()
Is the scheme a draft.
MockDraftWorkflowScheme setLastModifiedDate(Date lastModifiedDate)
MockDraftWorkflowScheme setLastModifiedUser(ApplicationUser lastModifiedUser)
MockDraftWorkflowScheme setParentScheme(AssignableWorkflowScheme parentScheme)
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.workflow.MockWorkflowScheme
From class java.lang.Object
From interface com.atlassian.jira.workflow.DraftWorkflowScheme
From interface com.atlassian.jira.workflow.WorkflowScheme

Public Constructors

public MockDraftWorkflowScheme ()

public MockDraftWorkflowScheme (Long id)

public MockDraftWorkflowScheme (DraftWorkflowScheme ws)

public MockDraftWorkflowScheme (Long l, AssignableWorkflowScheme parentScheme)

Public Methods

public MockDraftWorkflowScheme.MockBuilder 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.

@Nonnull public Date getLastModifiedDate ()

The date the scheme was last updated (or created).

Returns
  • the date the scheme was last updated or created.

public ApplicationUser getLastModifiedUser ()

The user that last modified the scheme.

Returns
  • the user that last modified the scheme. Can be null.

public String getName ()

The name of the workflow scheme.

Returns
  • the name of the workflow scheme.

public AssignableWorkflowScheme getParentScheme ()

Return a reference to the parent of the draft scheme.

Returns
  • a reference to the parent of the draft 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 MockDraftWorkflowScheme setLastModifiedDate (Date lastModifiedDate)

public MockDraftWorkflowScheme setLastModifiedUser (ApplicationUser lastModifiedUser)

public MockDraftWorkflowScheme setParentScheme (AssignableWorkflowScheme parentScheme)

public String toString ()