Enum Class Channel
- All Implemented Interfaces:
Serializable
,Comparable<Channel>
,Constable
Enumeration of built-in channels.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Describes migration from (potentially) old channel URI to a current channel URI.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Channel
findChannel
(String uri) static Channel.Migration
findMigration
(String uri) Channel URI that was used for midPoint before 4.2.Localization key describing the channel.getUri()
Current channel URI.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.static Channel
Returns the enum constant of this class with the specified name.static Channel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIVE_SYNC
-
RECONCILIATION
-
RECOMPUTATION
-
DISCOVERY
-
WEB_SERVICE
Deprecated. -
OBJECT_IMPORT
-
REST
-
INIT
-
USER
-
SELF_REGISTRATION
-
SELF_SERVICE
-
RESET_PASSWORD
-
IMPORT
-
ASYNC_UPDATE
-
CLEANUP
-
REMEDIATION
-
ACTUATOR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getUri
Current channel URI. -
getLocalizationKey
Localization key describing the channel. -
getLegacyUri
Channel URI that was used for midPoint before 4.2. -
findChannel
- Returns:
- Channel for the URI (matching current, not compatibility URIs); or null if it does not exist.
-
findMigration
- Returns:
- Migration object.
-
migrateUri
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.
-