• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2007 The Android Open Source Project
3  *
4  * Licensed under the Eclipse Public License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.eclipse.org/org/documents/epl-v10.php
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.ide.eclipse.adt;
18 
19 import com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerInitializer;
20 
21 
22 /**
23  * Constant definition class.<br>
24  * <br>
25  * Most constants have a prefix defining the content.
26  * <ul>
27  * <li><code>WS_</code> Workspace path constant. Those are absolute paths,
28  * from the project root.</li>
29  * <li><code>OS_</code> OS path constant. These paths are different depending on the platform.</li>
30  * <li><code>FN_</code> File name constant.</li>
31  * <li><code>FD_</code> Folder name constant.</li>
32  * <li><code>MARKER_</code> Resource Marker Ids constant.</li>
33  * <li><code>EXT_</code> File extension constant. This does NOT include a dot.</li>
34  * <li><code>DOT_</code> File extension constant. This start with a dot.</li>
35  * <li><code>RE_</code> Regexp constant.</li>
36  * <li><code>BUILD_</code> Build verbosity level constant. To use with
37  * <code>AdtPlugin.printBuildToConsole()</code></li>
38  * </ul>
39  */
40 public class AdtConstants {
41     /** Generic marker for ADT errors. */
42     public final static String MARKER_ADT = AdtPlugin.PLUGIN_ID + ".adtProblem"; //$NON-NLS-1$
43 
44     /** Marker for Android Target errors.
45      * This is not cleared on each like other markers. Instead, it's cleared
46      * when an {@link AndroidClasspathContainerInitializer} has succeeded in creating an
47      * AndroidClasspathContainer */
48     public final static String MARKER_TARGET = AdtPlugin.PLUGIN_ID + ".targetProblem"; //$NON-NLS-1$
49 
50     /** Build verbosity "Always". Those messages are always displayed. */
51     public final static int BUILD_ALWAYS = 0;
52 
53     /** Build verbosity level "Normal" */
54     public final static int BUILD_NORMAL = 1;
55 
56     /** Build verbosity level "Verbose". Those messages are only displayed in verbose mode */
57     public final static int BUILD_VERBOSE = 2;
58 
59 }
60