com.sun.labs.minion
Class FieldMultiplier
java.lang.Object
com.sun.labs.minion.FieldMultiplier
- All Implemented Interfaces:
- com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable
public class FieldMultiplier
- extends java.lang.Object
- implements com.sun.labs.util.props.Configurable
Inner class to encapsulate a field multiplier so it can be used by the
configuration management mechanism.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_MULTIPLIER_NAME
@ConfigString(mandatory=true)
public static final java.lang.String PROP_MULTIPLIER_NAME
- See Also:
- Constant Field Values
PROP_MULTIPLIER_VALUE
@ConfigDouble(mandatory=true,
defaultValue=1.0)
public static final java.lang.String PROP_MULTIPLIER_VALUE
- See Also:
- Constant Field Values
FieldMultiplier
public FieldMultiplier()
getName
public java.lang.String getName()
getValue
public float getValue()
newProperties
public void newProperties(com.sun.labs.util.props.PropertySheet ps)
throws com.sun.labs.util.props.PropertyException
- Specified by:
newProperties
in interface com.sun.labs.util.props.Configurable
- Throws:
com.sun.labs.util.props.PropertyException