站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

StateMachine.Acceptable (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.util.state
Interface StateMachine.Acceptable

All Known Implementing Classes:
AcceptableState, StateAdapter
Enclosing interface:
StateMachine

public static interface StateMachine.Acceptable

Provides the interface for dynmaic state acceptability.

State instances which implement this interface will be asked if a state is acceptable before looking at the current states acceptable state list.


Method Summary
 boolean isAcceptable(State state)
          Check if the given state is an acceptable transition from this state.
 

Method Detail

isAcceptable

public boolean isAcceptable(State state)
Check if the given state is an acceptable transition from this state.

Parameters:
state - The state to determine acceptability; must not be null.
Returns:
True if the state is acceptable, else false.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.