org.apache.mina.statemachine.annotation
Annotation Type State


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface State

Annotation used to define the states in a state machine. Only applies to static final String fields. The value of the string will be used as state id.

Version:
$Rev: 586695 $, $Date: 2007-10-20 12:01:17 +0200 (sam, 20 oct 2007) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Optional Element Summary
 String value
          Sets the id of the parent state.
 

value

public abstract String value
Sets the id of the parent state. The default is no parent.

Default:
"__root__"


Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.