Enum HostEvent.Type

    • Enum Constant Detail

      • HOST_ADDED

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

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

        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.

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

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

        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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null