Package 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
Fields Modifier and Type Field Description booleanvalueThe parameter value-
Fields inherited from class org.libvirt.SchedParameter
field, SCHED_PARAM_BOOLEAN, SCHED_PARAM_DOUBLE, SCHED_PARAM_INT, SCHED_PARAM_LONG, SCHED_PARAM_UINT, SCHED_PARAM_ULONG
-
-
Constructor Summary
Constructors Constructor Description SchedBooleanParameter()SchedBooleanParameter(boolean value)SchedBooleanParameter(byte value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType()The type of the parameterjava.lang.StringgetTypeAsString()Utility function for displaying the typejava.lang.StringgetValueAsString()Utility function for displaying the value-
Methods inherited from class org.libvirt.SchedParameter
copyOf, create, toNative
-
-
-
-
Method Detail
-
getType
public int getType()
Description copied from class:SchedParameterThe type of the parameter- Specified by:
getTypein classSchedParameter- Returns:
- the Type of the parameter
-
getTypeAsString
public java.lang.String getTypeAsString()
Description copied from class:SchedParameterUtility function for displaying the type- Specified by:
getTypeAsStringin classSchedParameter- Returns:
- the Type of the parameter as string
-
getValueAsString
public java.lang.String getValueAsString()
Description copied from class:SchedParameterUtility function for displaying the value- Specified by:
getValueAsStringin classSchedParameter- Returns:
- the value of the parameter in String form
-
-