Enum HostEvent.Type

    • Enum Constant Detail

      • HOST_ADDED

        public static final HostEvent.Type HOST_ADDED
        Signifies that a new host has been detected.
      • HOST_REMOVED

        public static final HostEvent.Type HOST_REMOVED
        Signifies that a host has been removed.
      • HOST_UPDATED

        public static final HostEvent.Type HOST_UPDATED
        Signifies that host data changed, e.g. IP address
      • HOST_MOVED

        public static final HostEvent.Type HOST_MOVED
        Signifies that a host location has changed.
      • HOST_SUSPENDED

        public static final HostEvent.Type HOST_SUSPENDED
        Signifies that a host is in offending state, eg: frequent host movement.
      • HOST_UNSUSPENDED

        public static final HostEvent.Type HOST_UNSUSPENDED
        Signifies that host state in non offending state.
      • HOST_AUX_MOVED

        public static final HostEvent.Type HOST_AUX_MOVED
        Signifies that host auxiliary location has changed.
    • Method Detail

      • values

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