Package org.libvirt
Class SchedParameter
- java.lang.Object
-
- org.libvirt.SchedParameter
-
- Direct Known Subclasses:
SchedBooleanParameter,SchedDoubleParameter,SchedIntParameter,SchedLongParameter,SchedUintParameter,SchedUlongParameter
public abstract class SchedParameter extends java.lang.ObjectThe abstract parent of the actual Schedparameter classes- Author:
- stoty
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringfieldParameter name
-
Constructor Summary
Constructors Constructor Description SchedParameter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static byte[]copyOf(byte[] original, int length)static SchedParametercreate(virSchedParameter vParam)abstract intgetType()The type of the parameterabstract java.lang.StringgetTypeAsString()Utility function for displaying the typeabstract java.lang.StringgetValueAsString()Utility function for displaying the valuestatic virSchedParametertoNative(SchedParameter param)
-
-
-
Method Detail
-
create
public static SchedParameter create(virSchedParameter vParam)
-
toNative
public static virSchedParameter toNative(SchedParameter param)
-
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
public abstract java.lang.String getTypeAsString()
Utility function for displaying the type- Returns:
- the Type of the parameter as string
-
getValueAsString
public abstract java.lang.String getValueAsString()
Utility function for displaying the value- Returns:
- the value of the parameter in String form
-
-