|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.workflow.MockWorkflowScheme
com.atlassian.jira.workflow.MockDraftWorkflowScheme
public class MockDraftWorkflowScheme
| Nested Class Summary | |
|---|---|
static class |
MockDraftWorkflowScheme.MockBuilder
|
| Nested classes/interfaces inherited from interface com.atlassian.jira.workflow.DraftWorkflowScheme |
|---|
DraftWorkflowScheme.Builder |
| Constructor Summary | |
|---|---|
MockDraftWorkflowScheme()
|
|
MockDraftWorkflowScheme(DraftWorkflowScheme ws)
|
|
MockDraftWorkflowScheme(Long id)
|
|
MockDraftWorkflowScheme(Long l,
AssignableWorkflowScheme parentScheme)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class com.atlassian.jira.workflow.MockWorkflowScheme |
|---|
clearMappings, getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getId, getMappings, removeDefault, removeMapping, removeWorkflow, setDefaultWorkflow, setId, setMapping, setMappings |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atlassian.jira.workflow.WorkflowScheme |
|---|
getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getId, getMappings |
| Constructor Detail |
|---|
public MockDraftWorkflowScheme()
public MockDraftWorkflowScheme(Long id)
public MockDraftWorkflowScheme(DraftWorkflowScheme ws)
public MockDraftWorkflowScheme(Long l,
AssignableWorkflowScheme parentScheme)
| Method Detail |
|---|
public ApplicationUser getLastModifiedUser()
DraftWorkflowScheme
getLastModifiedUser in interface DraftWorkflowScheme@Nonnull public Date getLastModifiedDate()
DraftWorkflowScheme
getLastModifiedDate in interface DraftWorkflowSchemepublic AssignableWorkflowScheme getParentScheme()
DraftWorkflowScheme
getParentScheme in interface DraftWorkflowSchemepublic MockDraftWorkflowScheme setParentScheme(AssignableWorkflowScheme parentScheme)
public MockDraftWorkflowScheme.MockBuilder builder()
DraftWorkflowScheme
builder in interface DraftWorkflowSchemepublic MockDraftWorkflowScheme setLastModifiedUser(ApplicationUser lastModifiedUser)
public MockDraftWorkflowScheme setLastModifiedDate(Date lastModifiedDate)
public String getName()
WorkflowScheme
getName in interface WorkflowSchemepublic String getDescription()
WorkflowScheme
getDescription in interface WorkflowSchemepublic boolean isDraft()
WorkflowScheme
isDraft in interface WorkflowSchemepublic boolean isDefault()
WorkflowScheme
isDefault in interface WorkflowSchemepublic boolean equals(Object o)
equals in class MockWorkflowSchemepublic int hashCode()
hashCode in class MockWorkflowSchemepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||