org.javasimon
Class SimonConfiguration
java.lang.Object
org.javasimon.SimonConfiguration
public final class SimonConfiguration
- extends Object
Stores configuration for the particular Simon or the set of Simons.
Currently it holds only the state of the Simon.
- Author:
- Richard "Virgo" Richter
|
Method Summary |
SimonState |
getState()
Returns Simon state for this configuration item. |
String |
toString()
Returns configuration information about Simon (stat processor type and state) as a human readable string. |
state
private SimonState state
SimonConfiguration
SimonConfiguration(SimonState state)
- Creates SimonConfiguration item.
- Parameters:
state - prefered state - SimonManager sets ihnerit if null is specified here
getState
public SimonState getState()
- Returns Simon state for this configuration item.
- Returns:
- configured Simon state or null if nothing was specified
toString
public String toString()
- Returns configuration information about Simon (stat processor type and state) as a human readable string.
- Overrides:
toString in class Object
- Returns:
- configuration information about Simon as string
Copyright © 2013. All Rights Reserved.