|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Workflow
public final class Workflow
Workflow specifies a set of states (steps) and state transitions Workflow also specifies a set of rules Some rules are relevant in all states. others are relevant in a particular state Workflow is described in .xml files in the starflow extensions project
| Nested Class Summary | |
|---|---|
static class |
Workflow.Step
A Step represents a State in the Workflow State Machine Each step represents an EnmeratedValue from the legal set for the workflow definition's EnumeratedProperty |
static class |
Workflow.WebCacheWorkflow
A Workflow Accessor for the Web Cache Object Model |
| Method Summary | |
|---|---|
boolean |
canUpdate(ViewMember artifact)
Returns true if this artifact can be updated, in the context of this workflow, i.e. |
static void |
fromStarFlowExtensions(View vw)
Load the workflow from StarFlow Extensions Once loaded, the rules validate state transitions, provide appropriate initialization defaults when entering new states, etc. |
Workflow.Step |
getCurrentStep(ViewMember artifact)
return the step that this artifact is in w.r. |
Workflow.Step |
getStartingStep()
The first step in the workflow |
Workflow.Step[] |
getSteps()
Returns the set of steps in the workflow |
ViewMember.Type |
getType()
returns the Type in whose context this workflow definition executes |
java.lang.String |
getVersion()
Returns the version of this workflow definition |
EnumeratedProperty |
getWorkflowProperty()
Returns the property that is, by definition, the 'workflow property' |
boolean |
isDisabled()
returns true if this workflow definition has been disabled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void fromStarFlowExtensions(View vw)
vw - the view whose workflow will be loaded for all workflow aware typespublic java.lang.String getVersion()
public boolean isDisabled()
public ViewMember.Type getType()
public EnumeratedProperty getWorkflowProperty()
public Workflow.Step getStartingStep()
public Workflow.Step[] getSteps()
public boolean canUpdate(ViewMember artifact)
artifact - the ViewMember which is about to be updated to the StarTeam
repository
public Workflow.Step getCurrentStep(ViewMember artifact)
artifact - the view memebr to test
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||