com.speckled.specksim.state
Class StateProcessorManager

java.lang.Object
  extended by com.speckled.specksim.state.StateProcessorManager
All Implemented Interfaces:
Configurable

public class StateProcessorManager
extends java.lang.Object
implements Configurable

Manages StateProcessors

Author:
ryanm

Method Summary
 Configurator getConfigurator()
          Gets a Configurator object that describes and can manipulate the variables of this Configurable.
static boolean register(java.lang.String className)
          Tries to register a StateProcessor with this state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static boolean register(java.lang.String className)
Tries to register a StateProcessor with this state

Parameters:
className - The classname of the StateProcessor
Returns:
true if the registration was succesful

getConfigurator

public Configurator getConfigurator()
Description copied from interface: Configurable
Gets a Configurator object that describes and can manipulate the variables of this Configurable. This method must only return null if the Configurable object is Annotated such that an AnnotatedConfigurator can be built from it.

Specified by:
getConfigurator in interface Configurable
Returns:
A configurator object, or null if annotated