View Javadoc
1   /*
2    * #%L
3    * wcm.io
4    * %%
5    * Copyright (C) 2014 wcm.io
6    * %%
7    * Licensed under the Apache License, Version 2.0 (the "License");
8    * you may not use this file except in compliance with the License.
9    * You may obtain a copy of the License at
10   *
11   *      http://www.apache.org/licenses/LICENSE-2.0
12   *
13   * Unless required by applicable law or agreed to in writing, software
14   * distributed under the License is distributed on an "AS IS" BASIS,
15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   * See the License for the specific language governing permissions and
17   * limitations under the License.
18   * #L%
19   */
20  package io.wcm.handler.url.integrator;
21  
22  import org.jetbrains.annotations.NotNull;
23  import org.osgi.annotation.versioning.ProviderType;
24  
25  /**
26   * Names used for integrator handling.
27   *
28   * <p>
29   * Conventions:
30   * </p>
31   *
32   * <ul>
33   * <li>NT_ prefix stands for "node type"</li>
34   * <li>NN_ prefix stands for "node name"</li>
35   * <li>PN_ prefix stands for "property name"</li>
36   * <li>RP_ prefix stands for "request property"</li>
37   * <li>RA_ prefix stands for "request attribute"</li>
38   * </ul>
39   */
40  @ProviderType
41  public final class IntegratorNameConstants {
42  
43    private IntegratorNameConstants() {
44      // holds constants only
45    }
46  
47    /**
48     * Integrator mode
49     */
50    public static final @NotNull String PN_INTEGRATOR_MODE = "integratorMode";
51  
52    /**
53     * Integrator protocol
54     */
55    public static final @NotNull String PN_INTEGRATOR_PROTOCOL = "integratorProtocol";
56  
57  }