Package org.libvirt
Class SchedParameter
java.lang.Object
org.libvirt.SchedParameter
- Direct Known Subclasses:
SchedBooleanParameter
,SchedDoubleParameter
,SchedIntParameter
,SchedLongParameter
,SchedUintParameter
,SchedUlongParameter
The abstract parent of the actual Schedparameter classes
- Author:
- stoty
-
Field Summary
Modifier and TypeFieldDescriptionParameter nameprotected static final int
protected static final int
protected static final int
TODO: get generated constants from libvirtprotected static final int
protected static final int
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
copyOf
(byte[] original, int length) static SchedParameter
create
(virSchedParameter vParam) abstract int
getType()
The type of the parameterabstract String
Utility function for displaying the typeabstract String
Utility function for displaying the valuestatic virSchedParameter
toNative
(SchedParameter param)
-
Field Details
-
SCHED_PARAM_INT
protected static final int SCHED_PARAM_INTTODO: get generated constants from libvirt- See Also:
-
SCHED_PARAM_UINT
protected static final int SCHED_PARAM_UINT- See Also:
-
SCHED_PARAM_LONG
protected static final int SCHED_PARAM_LONG- See Also:
-
SCHED_PARAM_ULONG
protected static final int SCHED_PARAM_ULONG- See Also:
-
SCHED_PARAM_DOUBLE
protected static final int SCHED_PARAM_DOUBLE- See Also:
-
SCHED_PARAM_BOOLEAN
protected static final int SCHED_PARAM_BOOLEAN- See Also:
-
field
Parameter name
-
-
Constructor Details
-
SchedParameter
public SchedParameter()
-
-
Method Details
-
create
-
toNative
-
copyOf
public static byte[] copyOf(byte[] original, int length) -
getType
public abstract int getType()The type of the parameter- Returns:
- the Type of the parameter
-
getTypeAsString
Utility function for displaying the type- Returns:
- the Type of the parameter as string
-
getValueAsString
Utility function for displaying the value- Returns:
- the value of the parameter in String form
-