Enum Significance.Levels

java.lang.Object
java.lang.Enum<Significance.Levels>
org.yamcs.xtce.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 Summary

    Enum Constants
    Enum Constant
    Description
    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)
    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
    All commands which are not in a category below
    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
    Mission specific
    Mission specific
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.
     

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

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

      public static final Significance.Levels WATCH
      Mission specific
    • WARNING

      public static final Significance.Levels WARNING
      Mission specific
    • 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 Details

    • values

      public static Significance.Levels[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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()
    • isMoreSevere

      public boolean isMoreSevere(Significance.Levels other)
    • fromString

      public static Significance.Levels fromString(String value)