Enum Class Channel

java.lang.Object
java.lang.Enum<Channel>
com.evolveum.midpoint.schema.constants.Channel
All Implemented Interfaces:
Serializable, Comparable<Channel>, Constable

public enum Channel extends Enum<Channel>
Enumeration of built-in channels.
  • Enum Constant Details

    • 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 Details

    • values

      public static Channel[] 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

      public static Channel valueOf(String name)
      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 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.
    • findMigration

      public static Channel.Migration findMigration(String uri)
      Returns:
      Migration object.
    • 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.