View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.common.lib.types;
20  
21  import java.util.Map;
22  import org.apache.commons.lang3.tuple.Pair;
23  
24  public final class IdMImplementationType {
25  
26      public static final String RECON_FILTER_BUILDER = "RECON_FILTER_BUILDER";
27  
28      public static final String PROPAGATION_ACTIONS = "PROPAGATION_ACTIONS";
29  
30      public static final String PULL_ACTIONS = "PULL_ACTIONS";
31  
32      public static final String PUSH_ACTIONS = "PUSH_ACTIONS";
33  
34      public static final String PULL_CORRELATION_RULE = "PULL_CORRELATION_RULE";
35  
36      public static final String PUSH_CORRELATION_RULE = "PUSH_CORRELATION_RULE";
37  
38      public static final String PROVISION_SORTER = "PROVISION_SORTER";
39  
40      private static final Map<String, String> VALUES = Map.ofEntries(
41              Pair.of(RECON_FILTER_BUILDER, "org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder"),
42              Pair.of(PROPAGATION_ACTIONS, "org.apache.syncope.core.provisioning.api.propagation.PropagationActions"),
43              Pair.of(PULL_ACTIONS, "org.apache.syncope.core.provisioning.api.pushpull.PullActions"),
44              Pair.of(PUSH_ACTIONS, "org.apache.syncope.core.provisioning.api.pushpull.PushActions"),
45              Pair.of(PULL_CORRELATION_RULE, "org.apache.syncope.core.provisioning.api.rules.PullCorrelationRule"),
46              Pair.of(PUSH_CORRELATION_RULE, "org.apache.syncope.core.provisioning.api.rules.PushCorrelationRule"),
47              Pair.of(PROVISION_SORTER, "org.apache.syncope.core.provisioning.api.ProvisionSorter"));
48  
49      public static Map<String, String> values() {
50          return VALUES;
51      }
52  
53      private IdMImplementationType() {
54          // private constructor for static utility class
55      }
56  }