Enum Channel
- java.lang.Object
-
- java.lang.Enum<Channel>
-
- com.evolveum.midpoint.schema.constants.Channel
-
- All Implemented Interfaces:
Serializable
,Comparable<Channel>
public enum Channel extends Enum<Channel>
Enumeration of built-in channels.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Channel.Migration
Describes migration from (potentially) old channel URI to a current channel URI.
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTUATOR
ASYNC_UPDATE
CLEANUP
DISCOVERY
IMPORT
INIT
LIVE_SYNC
OBJECT_IMPORT
RECOMPUTATION
RECONCILIATION
REMEDIATION
RESET_PASSWORD
REST
SELF_REGISTRATION
SELF_SERVICE
USER
WEB_SERVICE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel
findChannel(String uri)
static Channel.Migration
findMigration(String uri)
String
getLegacyUri()
Channel URI that was used for midPoint before 4.2.String
getLocalizationKey()
Localization key describing the channel.String
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
valueOf(String name)
Returns the enum constant of this type with the specified name.static Channel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
WEB_SERVICE
@Deprecated public static final Channel WEB_SERVICE
Deprecated.
-
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 nameNullPointerException
- 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.
-
findMigration
public static Channel.Migration findMigration(String uri)
- Returns:
- Migration object.
-
-