org.libvirt
Class SchedIntParameter

java.lang.Object
  extended by org.libvirt.SchedParameter
      extended by org.libvirt.SchedIntParameter

public final class SchedIntParameter
extends SchedParameter

Parameter to hold an int.


Field Summary
 int value
           
 
Fields inherited from class org.libvirt.SchedParameter
field
 
Constructor Summary
SchedIntParameter()
           
SchedIntParameter(int value)
           
 
Method Summary
 int getType()
          The type of the parameter
 java.lang.String getTypeAsString()
          Utility function for displaying the type
 java.lang.String getValueAsString()
          Utility function for displaying the value
 
Methods inherited from class org.libvirt.SchedParameter
copyOf, create, toNative
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public int value
Constructor Detail

SchedIntParameter

public SchedIntParameter()

SchedIntParameter

public SchedIntParameter(int value)
Method Detail

getType

public int getType()
Description copied from class: SchedParameter
The type of the parameter

Specified by:
getType in class SchedParameter
Returns:
the Type of the parameter

getTypeAsString

public java.lang.String getTypeAsString()
Description copied from class: SchedParameter
Utility function for displaying the type

Specified by:
getTypeAsString in class SchedParameter
Returns:
the Type of the parameter as string

getValueAsString

public java.lang.String getValueAsString()
Description copied from class: SchedParameter
Utility function for displaying the value

Specified by:
getValueAsString in class SchedParameter
Returns:
the value of the parameter in String form