com.qizx.api
Class Configuration.Property
java.lang.Object
com.qizx.api.Configuration.Property
- All Implemented Interfaces:
- Comparable<Configuration.Property>
- Enclosing class:
- Configuration
public static class Configuration.Property
- extends Object
- implements Comparable<Configuration.Property>
Properties of Qizx Configuration.
Constructor Summary |
Configuration.Property(String name,
String category,
String level,
String description,
Object defaultValue)
|
Configuration.Property(String name,
String category,
String level,
String description,
Object defaultValue,
Object minValue,
Object maxValue)
|
Configuration.Property
public Configuration.Property(String name,
String category,
String level,
String description,
Object defaultValue)
Configuration.Property
public Configuration.Property(String name,
String category,
String level,
String description,
Object defaultValue,
Object minValue,
Object maxValue)
getName
public String getName()
getType
public Class<?> getType()
getDescription
public String getDescription()
getCategory
public String getCategory()
getLevel
public String getLevel()
checkValue
public Object checkValue(Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
checkLong
public long checkLong(Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
stringValue
public String stringValue(Object value)
booleanValue
public boolean booleanValue(Object value)
intValue
public int intValue(Object value)
longValue
public long longValue(Object value)
getDefaultValue
public Object getDefaultValue()
compareTo
public int compareTo(Configuration.Property p)
- Specified by:
compareTo
in interface Comparable<Configuration.Property>