org.libvirt
Class SchedLongParameter

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

public final class SchedLongParameter
extends SchedParameter

Class for representing a long int scheduler parameter

Author:
stoty

Field Summary
 long value
          The parameter value
 
Fields inherited from class org.libvirt.SchedParameter
field
 
Constructor Summary
SchedLongParameter()
           
SchedLongParameter(long 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 long value
The parameter value

Constructor Detail

SchedLongParameter

public SchedLongParameter()

SchedLongParameter

public SchedLongParameter(long 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