Enum LinkEvent.Type

    • Enum Constant Detail

      • LINK_ADDED

        public static final LinkEvent.Type LINK_ADDED
        Signifies that a new link has been detected.
      • LINK_UPDATED

        public static final LinkEvent.Type LINK_UPDATED
        Signifies that a link has been updated or changed state.
      • LINK_REMOVED

        public static final LinkEvent.Type LINK_REMOVED
        Signifies that a link has been removed.
    • Method Detail

      • values

        public static LinkEvent.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 (LinkEvent.Type c : LinkEvent.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 LinkEvent.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