Skip to main content
summaryrefslogtreecommitdiffstats
blob: 71ffa8db0341a2932640d955363b894e2de5f02e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*******************************************************************************
 * Copyright (c) 2004, 2007 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.framework.core.data;

/**
 * @author Roberto E. Escobar
 */
public class OseeServerContext {

   private static final String BASE_CONTEXT = "osee";

   public static final String PROCESS_CONTEXT = "GET.ARTIFACT"; // For backwards compatibility must remain without base context.
   public static final String MANAGER_CONTEXT = asAbsoluteContext("manager");
   public static final String BRANCH_CONTEXT = asAbsoluteContext("branch");
   public static final String BRANCH_EXCHANGE_CONTEXT = asAbsoluteContext("branch/exchange");
   public static final String SEARCH_TAGGING_CONTEXT = asAbsoluteContext("search/tagger");
   public static final String RESOURCE_CONTEXT = asAbsoluteContext("resource");
   public static final String SESSION_CONTEXT = asAbsoluteContext("session");
   public static final String CLIENT_LOOPBACK_CONTEXT = asAbsoluteContext("client/loopback");
   public static final String ARTIFACT_CONTEXT = asAbsoluteContext("artifact");
   public static final String OSEE_MODEL_CONTEXT = asAbsoluteContext("model");
   public static final String OSEE_CONFIGURE_CONTEXT = asAbsoluteContext("configure");
   public static final String CACHE_CONTEXT = asAbsoluteContext("cache");
   public static final String OSEE_EMAIL_UNSUBSCRIBE = asAbsoluteContext("unsubscribe");

   private static final String asAbsoluteContext(String value) {
      return BASE_CONTEXT + "/" + value;
   }

   private OseeServerContext() {
      // private constructor
   }
}

Back to the top