Class FixVariantDescriptor


  • public final class FixVariantDescriptor
    extends Object
    The descriptor of a single IFixVariant of a particular IFix. Used to provde the further selection of the variant along with human-readable descriptions, etc
    • Constructor Detail

      • FixVariantDescriptor

        public FixVariantDescriptor​(String description,
                                    String details)
        Constructs a descriptor
        Parameters:
        description - The variant description. May not be null
        details - The detailed info of the variant. Can be null
      • FixVariantDescriptor

        public FixVariantDescriptor​(String description)
        Constructs a descriptor with empty details
        Parameters:
        description - The variant description. May not be null
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDescription

        public String getDescription()
        Gets the variant description
        Returns:
        The variant human-readable description. Never null
      • getDetails

        public String getDetails()
        Gets the variant details
        Returns:
        The variant human-readable details. Never null, can be empty