|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface State
Represents a discrete state in a state machine or workflow. It is contained
by a StateMachine
and refered
to by Transitions
A name that identifies the state uniquely within the context of a state machine.
name
[State] <*>------> [java.lang.String
]
StateHome
,
StateImpl
Method Summary | |
---|---|
void |
enter(Transition trans)
Deprecated This method is invoked whenever the state is entered. |
void |
error(Transition trans)
Deprecated This method is invoked whenever the state is transitioned from in erro. |
void |
exit(Transition trans)
Deprecated This method is invoked whenever the state is transitioned from. |
TransitionPolicy |
getEnterPolicy()
Deprecated Get the transition policy that is invoked when the state is entered. |
TransitionPolicy |
getErrorPolicy()
Deprecated Set the transition policy that is invoked when the state is exited with an invalid transition. |
TransitionPolicy |
getExitPolicy()
Deprecated Get the transition policy that is invoked when the state is exited. |
String |
getName()
Deprecated Get the value of name |
void |
setEnterPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is entered. |
void |
setErrorPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is exited with an invalid transition. |
void |
setExitPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is exited. |
void |
setName(String name)
Deprecated Set the value of name |
Methods inherited from interface com.beasys.commerce.foundation.Belonging |
---|
clone, equals, interfaceName, setByValue, value |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
String getName()
void setName(String name)
names
- name to be addedvoid enter(Transition trans)
void exit(Transition trans)
void error(Transition trans)
void setEnterPolicy(TransitionPolicy policy)
TransitionPolicy getEnterPolicy()
void setExitPolicy(TransitionPolicy policy)
TransitionPolicy getExitPolicy()
void setErrorPolicy(TransitionPolicy policy)
TransitionPolicy getErrorPolicy()
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |