public class MockDraftWorkflowScheme extends MockWorkflowScheme implements DraftWorkflowScheme
Modifier and Type | Class and Description |
---|---|
static class |
MockDraftWorkflowScheme.MockBuilder |
DraftWorkflowScheme.Builder
Constructor and Description |
---|
MockDraftWorkflowScheme() |
MockDraftWorkflowScheme(DraftWorkflowScheme ws) |
MockDraftWorkflowScheme(Long id) |
MockDraftWorkflowScheme(Long l,
AssignableWorkflowScheme parentScheme) |
Modifier and Type | Method and Description |
---|---|
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.
|
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() |
clearMappings, getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getId, getMappings, removeDefault, removeMapping, removeWorkflow, setDefaultWorkflow, setId, setMapping, setMappings
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getId, getMappings
public MockDraftWorkflowScheme()
public MockDraftWorkflowScheme(Long id)
public MockDraftWorkflowScheme(DraftWorkflowScheme ws)
public MockDraftWorkflowScheme(Long l, AssignableWorkflowScheme parentScheme)
public ApplicationUser getLastModifiedUser()
DraftWorkflowScheme
getLastModifiedUser
in interface DraftWorkflowScheme
@Nonnull public Date getLastModifiedDate()
DraftWorkflowScheme
getLastModifiedDate
in interface DraftWorkflowScheme
public AssignableWorkflowScheme getParentScheme()
DraftWorkflowScheme
getParentScheme
in interface DraftWorkflowScheme
public MockDraftWorkflowScheme setParentScheme(AssignableWorkflowScheme parentScheme)
public MockDraftWorkflowScheme.MockBuilder builder()
DraftWorkflowScheme
builder
in interface DraftWorkflowScheme
public MockDraftWorkflowScheme setLastModifiedUser(ApplicationUser lastModifiedUser)
public MockDraftWorkflowScheme setLastModifiedDate(Date lastModifiedDate)
public String getName()
WorkflowScheme
getName
in interface WorkflowScheme
public String getDescription()
WorkflowScheme
getDescription
in interface WorkflowScheme
public boolean isDraft()
WorkflowScheme
isDraft
in interface WorkflowScheme
public boolean isDefault()
WorkflowScheme
isDefault
in interface WorkflowScheme
public boolean equals(Object o)
equals
in class MockWorkflowScheme
public int hashCode()
hashCode
in class MockWorkflowScheme
Copyright © 2002-2019 Atlassian. All Rights Reserved.