Class ExtensionStatus


  • public final class ExtensionStatus
    extends Object
    Status from the extension.
    • Constructor Detail

      • ExtensionStatus

        public ExtensionStatus()
    • Method Detail

      • code

        public String code()
        Get the code property: Status code provided by the Extension.
        Returns:
        the code value.
      • withCode

        public ExtensionStatus withCode​(String code)
        Set the code property: Status code provided by the Extension.
        Parameters:
        code - the code value to set.
        Returns:
        the ExtensionStatus object itself.
      • displayStatus

        public String displayStatus()
        Get the displayStatus property: Short description of status of the extension.
        Returns:
        the displayStatus value.
      • withDisplayStatus

        public ExtensionStatus withDisplayStatus​(String displayStatus)
        Set the displayStatus property: Short description of status of the extension.
        Parameters:
        displayStatus - the displayStatus value to set.
        Returns:
        the ExtensionStatus object itself.
      • level

        public LevelType level()
        Get the level property: Level of the status.
        Returns:
        the level value.
      • withLevel

        public ExtensionStatus withLevel​(LevelType level)
        Set the level property: Level of the status.
        Parameters:
        level - the level value to set.
        Returns:
        the ExtensionStatus object itself.
      • message

        public String message()
        Get the message property: Detailed message of the status from the Extension.
        Returns:
        the message value.
      • withMessage

        public ExtensionStatus withMessage​(String message)
        Set the message property: Detailed message of the status from the Extension.
        Parameters:
        message - the message value to set.
        Returns:
        the ExtensionStatus object itself.
      • time

        public String time()
        Get the time property: DateLiteral (per ISO8601) noting the time of installation status.
        Returns:
        the time value.
      • withTime

        public ExtensionStatus withTime​(String time)
        Set the time property: DateLiteral (per ISO8601) noting the time of installation status.
        Parameters:
        time - the time value to set.
        Returns:
        the ExtensionStatus object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.