org.libvirt
Class SchedBooleanParameter
java.lang.Object
org.libvirt.SchedParameter
org.libvirt.SchedBooleanParameter
public final class SchedBooleanParameter
- extends SchedParameter
Class for representing a boolean scheduler parameter
- Author:
- stoty
Field Summary |
boolean |
value
The parameter value |
Method Summary |
int |
getType()
The type of the parameter |
java.lang.String |
getTypeAsString()
Utility function for displaying the type |
java.lang.String |
getValueAsString()
Utility function for displaying the value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public boolean value
- The parameter value
SchedBooleanParameter
public SchedBooleanParameter()
SchedBooleanParameter
public SchedBooleanParameter(boolean value)
SchedBooleanParameter
public SchedBooleanParameter(byte value)
getType
public int getType()
- Description copied from class:
SchedParameter
- The type of the parameter
- Specified by:
getType
in class SchedParameter
- Returns:
- the Type of the parameter
getTypeAsString
public java.lang.String getTypeAsString()
- Description copied from class:
SchedParameter
- Utility function for displaying the type
- Specified by:
getTypeAsString
in class SchedParameter
- Returns:
- the Type of the parameter as string
getValueAsString
public java.lang.String getValueAsString()
- Description copied from class:
SchedParameter
- Utility function for displaying the value
- Specified by:
getValueAsString
in class SchedParameter
- Returns:
- the value of the parameter in String form