Package org.libvirt
Class SchedIntParameter
java.lang.Object
org.libvirt.SchedParameter
org.libvirt.SchedIntParameter
Parameter to hold an int.
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionint
getType()
The type of the parameterUtility function for displaying the typeUtility function for displaying the valueMethods inherited from class org.libvirt.SchedParameter
copyOf, create, toNative
-
Field Details
-
value
public int value
-
-
Constructor Details
-
SchedIntParameter
public SchedIntParameter() -
SchedIntParameter
public SchedIntParameter(int value)
-
-
Method Details
-
getType
public int getType()Description copied from class:SchedParameter
The type of the parameter- Specified by:
getType
in classSchedParameter
- Returns:
- the Type of the parameter
-
getTypeAsString
Description copied from class:SchedParameter
Utility function for displaying the type- Specified by:
getTypeAsString
in classSchedParameter
- Returns:
- the Type of the parameter as string
-
getValueAsString
Description copied from class:SchedParameter
Utility function for displaying the value- Specified by:
getValueAsString
in classSchedParameter
- Returns:
- the value of the parameter in String form
-