Package org.libvirt

Class TypedBooleanParameter

java.lang.Object
org.libvirt.TypedParameter
org.libvirt.TypedBooleanParameter

public final class TypedBooleanParameter extends TypedParameter
Class for representing a boolean typed parameter
  • Field Details

    • value

      public boolean value
  • Constructor Details

    • TypedBooleanParameter

      public TypedBooleanParameter()
    • TypedBooleanParameter

      public TypedBooleanParameter(boolean value)
    • TypedBooleanParameter

      public TypedBooleanParameter(byte value)
    • TypedBooleanParameter

      public TypedBooleanParameter(String field, boolean value)
  • Method Details

    • getType

      public int getType()
      Description copied from class: TypedParameter
      The type of the parameter
      Specified by:
      getType in class TypedParameter
      Returns:
      the Type of the parameter
    • getTypeAsString

      public String getTypeAsString()
      Description copied from class: TypedParameter
      Utility function for displaying the type
      Specified by:
      getTypeAsString in class TypedParameter
      Returns:
      the Type of the parameter as string
    • getValueAsString

      public String getValueAsString()
      Description copied from class: TypedParameter
      Utility function for displaying the value
      Specified by:
      getValueAsString in class TypedParameter
      Returns:
      the value of the parameter in String form