Package org.libvirt

Class SchedIntParameter

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

public final class SchedIntParameter extends SchedParameter
Parameter to hold an int.
  • Field Details

    • value

      public int value
  • Constructor Details

    • SchedIntParameter

      public SchedIntParameter()
    • SchedIntParameter

      public SchedIntParameter(int 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