public class MockAssignableWorkflowScheme extends MockWorkflowScheme implements AssignableWorkflowScheme
Modifier and Type | Class and Description |
---|---|
static class |
MockAssignableWorkflowScheme.MockBuilder |
AssignableWorkflowScheme.Builder
Constructor and Description |
---|
MockAssignableWorkflowScheme() |
MockAssignableWorkflowScheme(AssignableWorkflowScheme scheme) |
MockAssignableWorkflowScheme(Long id,
String name) |
MockAssignableWorkflowScheme(Long id,
String name,
String description) |
Modifier and Type | Method and Description |
---|---|
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 com.google.common.base.Function<AssignableWorkflowScheme,MockAssignableWorkflowScheme> |
toMock() |
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 MockAssignableWorkflowScheme()
public MockAssignableWorkflowScheme(Long id, String name, String description)
public MockAssignableWorkflowScheme(AssignableWorkflowScheme scheme)
public static com.google.common.base.Function<AssignableWorkflowScheme,MockAssignableWorkflowScheme> toMock()
@Nonnull public AssignableWorkflowScheme.Builder builder()
AssignableWorkflowScheme
builder
in interface AssignableWorkflowScheme
public String getName()
AssignableWorkflowScheme
getName
in interface AssignableWorkflowScheme
getName
in interface WorkflowScheme
public String getDescription()
AssignableWorkflowScheme
getDescription
in interface AssignableWorkflowScheme
getDescription
in interface WorkflowScheme
public boolean isDraft()
WorkflowScheme
isDraft
in interface WorkflowScheme
public boolean isDefault()
WorkflowScheme
isDefault
in interface WorkflowScheme
public MockAssignableWorkflowScheme setDefaultScheme(boolean defaultScheme)
public MockAssignableWorkflowScheme setDescription(String description)
public MockAssignableWorkflowScheme setName(String name)
public boolean equals(Object o)
equals
in class MockWorkflowScheme
public int hashCode()
hashCode
in class MockWorkflowScheme
Copyright © 2002-2017 Atlassian. All Rights Reserved.