Enum Channel

    • Enum Constant Detail

      • LIVE_SYNC

        public static final Channel LIVE_SYNC
      • RECONCILIATION

        public static final Channel RECONCILIATION
      • RECOMPUTATION

        public static final Channel RECOMPUTATION
      • DISCOVERY

        public static final Channel DISCOVERY
      • OBJECT_IMPORT

        public static final Channel OBJECT_IMPORT
      • REST

        public static final Channel REST
      • INIT

        public static final Channel INIT
      • USER

        public static final Channel USER
      • SELF_REGISTRATION

        public static final Channel SELF_REGISTRATION
      • SELF_SERVICE

        public static final Channel SELF_SERVICE
      • RESET_PASSWORD

        public static final Channel RESET_PASSWORD
      • IMPORT

        public static final Channel IMPORT
      • ASYNC_UPDATE

        public static final Channel ASYNC_UPDATE
      • CLEANUP

        public static final Channel CLEANUP
      • REMEDIATION

        public static final Channel REMEDIATION
      • ACTUATOR

        public static final Channel ACTUATOR
    • Method Detail

      • values

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

        public static Channel 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
      • getUri

        public String getUri()
        Current channel URI.
      • getLocalizationKey

        public String getLocalizationKey()
        Localization key describing the channel.
      • getLegacyUri

        public String getLegacyUri()
        Channel URI that was used for midPoint before 4.2.
      • findChannel

        public static Channel findChannel​(String uri)
        Returns:
        Channel for the URI (matching current, not compatibility URIs); or null if it does not exist.
      • migrateUri

        public static String migrateUri​(String uri)
        Returns "migrated" URI: if the provided URI matches compatibility URI of any channel, the method returns the current URI for that channel. In all other cases it returns back the client-provided value.