Enum Significance.Levels

  • All Implemented Interfaces:
    Serializable, Comparable<Significance.Levels>
    Enclosing class:
    Significance

    public static enum Significance.Levels
    extends Enum<Significance.Levels>
    The XTCE aliases given to the Levels are from XTCE 1.2 and they correspond to ISO 14950 as well as the description found here.

    In the future we will maybe adopt the XTCE names as the main names but that requires changes in the web interface as well as Yamcs Studio.

    Note that the command privilege checking assumes there is an order in between the levels whereas the XTCE 1.2 does not impose any ordering for user1 and user2.

    • Enum Constant Detail

      • none

        public static final Significance.Levels none
        All commands which are not in a category below
      • distress

        public static final Significance.Levels distress
        ISO 14490: telecommand that is not a critical telecommand but is essential to the success of the mission and, if sent at the wrong time, could cause momentary loss of the mission
      • critical

        public static final Significance.Levels critical
        ISO 14490: telecommand that, if executed at the wrong time or in the wrong configuration, could cause irreversible loss or damage for the mission (i.e. endanger the achievement of the primary mission objectives)
      • severe

        public static final Significance.Levels severe
        ISO 14490: telecommand that is not expected to be used for nominal or foreseeable contingency operations, that is included for unforeseen contingency operations, and that could cause irreversible damage if executed at the wrong time or in the wrong configuration
    • Method Detail

      • values

        public static Significance.Levels[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Significance.Levels c : Significance.Levels.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Significance.Levels valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • xtceAlias

        public String xtceAlias()