public interface WorkflowHeader
Modifier and Type | Interface and Description |
---|---|
static class |
WorkflowHeader.WorkflowMode<T extends WorkflowHeader> |
String getWorkflowName()
String getWorkflowDescription()
boolean isSystem()
LozengeUsedBy sharedBy()
boolean canEditNameOrDescription()
EditWorkflowNameAndDescriptionDialog editNameOrDescription()
boolean canCreateOrEditDraft()
boolean canDiscard()
boolean canViewDraft()
DiscardDraftDialog openDiscardDialog()
boolean canPublish()
PublishDialog openPublishDialog()
boolean isDraft()
boolean hasLinkToLiveWorkflow()
ViewWorkflowSteps gotoLiveWorkflow()
boolean isActive()
boolean isInactive()
WorkflowHeader.WorkflowMode<?> getCurrentMode()
<T extends WorkflowHeader> T createDraftInMode(WorkflowHeader.WorkflowMode<T> mode)
<T extends WorkflowHeader> T createDraft(WorkflowHeader.WorkflowMode<T> mode)
<T extends WorkflowHeader> T setCurrentEditMode(WorkflowHeader.WorkflowMode<T> mode)
void setCurrentViewMode(WorkflowHeader.WorkflowMode<?> mode)
Copyright © 2002-2021 Atlassian. All Rights Reserved.