Package org.libvirt

Class SchedDoubleParameter

java.lang.Object
org.libvirt.SchedParameter
org.libvirt.SchedDoubleParameter

public final class SchedDoubleParameter extends SchedParameter
Class for representing a double scheduler parameter
Author:
stoty
  • Field Details

    • value

      public double value
      The parameter value
  • Constructor Details

    • SchedDoubleParameter

      public SchedDoubleParameter()
    • SchedDoubleParameter

      public SchedDoubleParameter(double value)
  • Method Details

    • 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 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 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