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
Fields -
Constructor Summary
Constructors -
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
-
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
-