Enum IntentEvent.Type

    • Enum Constant Detail

      • INSTALL_REQ

        public static final IntentEvent.Type INSTALL_REQ
        Signifies that an intent is to be installed or reinstalled.
      • INSTALLED

        public static final IntentEvent.Type INSTALLED
        Signifies that an intent has been successfully installed.
      • FAILED

        public static final IntentEvent.Type FAILED
        Signifies that an intent has failed compilation and that it cannot be satisfied by the network at this time.
      • WITHDRAW_REQ

        public static final IntentEvent.Type WITHDRAW_REQ
        Signifies that an intent will be withdrawn.
      • WITHDRAWN

        public static final IntentEvent.Type WITHDRAWN
        Signifies that an intent has been withdrawn from the system.
      • CORRUPT

        public static final IntentEvent.Type CORRUPT
        Signifies that an intent has failed installation or withdrawal, but still hold some or all of its resources. (e.g. link reservations, flow rules on the data plane, etc.)
      • PURGED

        public static final IntentEvent.Type PURGED
        Signifies that an intent has been purged from the system.
      • REALLOCATING

        public static final IntentEvent.Type REALLOCATING
        Signifies that an intent is being reallocated.
    • Method Detail

      • values

        public static IntentEvent.Type[] 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 (IntentEvent.Type c : IntentEvent.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IntentEvent.Type 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