org.libvirt

Class SchedParameter

public abstract class SchedParameter extends Object

The abstract parent of the actual Schedparameter classes

Author: stoty

Field Summary
Stringfield
Parameter name
Method Summary
static byte[]copyOf(byte[] original, int length)
static SchedParametercreate(virSchedParameter vParam)
abstract intgetType()
The type of the parameter
abstract StringgetTypeAsString()
Utility function for displaying the type
abstract StringgetValueAsString()
Utility function for displaying the value
static virSchedParametertoNative(SchedParameter param)

Field Detail

field

public String field
Parameter name

Method Detail

copyOf

public static byte[] copyOf(byte[] original, int length)

create

public static SchedParameter create(virSchedParameter vParam)

getType

public abstract int getType()
The type of the parameter

Returns: the Type of the parameter

getTypeAsString

public abstract String getTypeAsString()
Utility function for displaying the type

Returns: the Type of the parameter as string

getValueAsString

public abstract String getValueAsString()
Utility function for displaying the value

Returns: the value of the parameter in String form

toNative

public static virSchedParameter toNative(SchedParameter param)