KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > internal > configurator > IConfigurationConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.internal.configurator;
12
13 import org.eclipse.update.configurator.IPlatformConfiguration.*;
14
15 /**
16  * Constants
17  */

18 public interface IConfigurationConstants {
19     public static final String JavaDoc ECLIPSE_PRODUCT = "eclipse.product"; //$NON-NLS-1$
20
public static final String JavaDoc ECLIPSE_APPLICATION = "eclipse.application"; //$NON-NLS-1$
21
public static final String JavaDoc CFG = "config"; //$NON-NLS-1$
22
public static final String JavaDoc CFG_BOOT_PLUGIN = "bootstrap"; //$NON-NLS-1$
23
public static final String JavaDoc CFG_SITE = "site"; //$NON-NLS-1$
24
public static final String JavaDoc CFG_URL = "url"; //$NON-NLS-1$
25
public static final String JavaDoc CFG_POLICY = "policy"; //$NON-NLS-1$
26
public static final String JavaDoc[] CFG_POLICY_TYPE = { "USER-INCLUDE", "USER-EXCLUDE", "MANAGED-ONLY" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
27
public static final String JavaDoc CFG_POLICY_TYPE_UNKNOWN = "UNKNOWN"; //$NON-NLS-1$
28
public static final String JavaDoc CFG_LIST = "list"; //$NON-NLS-1$
29
public static final String JavaDoc CFG_STAMP = "stamp"; //$NON-NLS-1$
30
public static final String JavaDoc CFG_FEATURE_STAMP = "stamp.features"; //$NON-NLS-1$
31
public static final String JavaDoc CFG_PLUGIN_STAMP = "stamp.plugins"; //$NON-NLS-1$
32
public static final String JavaDoc CFG_UPDATEABLE = "updateable"; //$NON-NLS-1$
33
public static final String JavaDoc CFG_LINK_FILE = "linkfile"; //$NON-NLS-1$
34
public static final String JavaDoc CFG_FEATURE_ENTRY = "feature"; //$NON-NLS-1$
35
public static final String JavaDoc CFG_FEATURE_ENTRY_ID = "id"; //$NON-NLS-1$
36
public static final String JavaDoc CFG_FEATURE_ENTRY_PRIMARY = "primary"; //$NON-NLS-1$
37
public static final String JavaDoc CFG_FEATURE_ENTRY_VERSION = "version"; //$NON-NLS-1$
38
public static final String JavaDoc CFG_FEATURE_ENTRY_PLUGIN_VERSION = "plugin-version"; //$NON-NLS-1$
39
public static final String JavaDoc CFG_FEATURE_ENTRY_PLUGIN_IDENTIFIER = "plugin-identifier"; //$NON-NLS-1$
40
public static final String JavaDoc CFG_FEATURE_ENTRY_APPLICATION = "application"; //$NON-NLS-1$
41
public static final String JavaDoc CFG_FEATURE_ENTRY_ROOT = "root"; //$NON-NLS-1$
42
public static final String JavaDoc CFG_DATE = "date"; //$NON-NLS-1$
43
public static final String JavaDoc CFG_PLUGIN = "plugin"; //$NON-NLS-1$
44
public static final String JavaDoc CFG_FRAGMENT = "fragment"; //$NON-NLS-1$
45
public static final String JavaDoc CFG_ENABLED = "enabled"; //$NON-NLS-1$
46
public static final String JavaDoc CFG_SHARED_URL = "shared_ur"; //$NON-NLS-1$
47

48
49     public static final String JavaDoc CFG_VERSION = "version"; //$NON-NLS-1$
50
public static final String JavaDoc CFG_TRANSIENT = "transient"; //$NON-NLS-1$
51
public static final String JavaDoc VERSION = "3.0"; //$NON-NLS-1$
52
// public static final String EOF = "eof"; //$NON-NLS-1$
53
public static final int CFG_LIST_LENGTH = 10;
54
55     public static final int DEFAULT_POLICY_TYPE = ISitePolicy.USER_EXCLUDE;
56     public static final String JavaDoc[] DEFAULT_POLICY_LIST = new String JavaDoc[0];
57     
58     public static final String JavaDoc PLUGINS = "plugins"; //$NON-NLS-1$
59
public static final String JavaDoc FEATURES = "features"; //$NON-NLS-1$
60
public static final String JavaDoc PLUGIN_XML = "plugin.xml"; //$NON-NLS-1$
61
public static final String JavaDoc FRAGMENT_XML = "fragment.xml"; //$NON-NLS-1$
62
public static final String JavaDoc META_MANIFEST_MF = "META-INF/MANIFEST.MF"; //$NON-NLS-1$
63
public static final String JavaDoc FEATURE_XML = "feature.xml"; //$NON-NLS-1$
64
}
65
Popular Tags