KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > core > IUpdateConstants


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.core;
12
13  
14 /**
15  * Manages a list of static constants.
16  *
17  * <p>
18  * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
19  * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
20  * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
21  * (repeatedly) as the API evolves.
22  * </p>
23  * @since 2.0.2
24  */

25 public interface IUpdateConstants {
26     
27         /**
28      * No matching rule specified
29      * @since 2.0
30      */

31     public static final int RULE_NONE = 0;
32
33     /**
34      * Dependency can be satisfied only with plug-in version matching
35      * exactly the specified version.
36      * @since 2.0
37      */

38     public static final int RULE_PERFECT = 1;
39
40     /**
41      * Dependency can be satisfied only with plug-in version that is
42      * equivalent to the specified version (same major and minor version
43      * identifier, greater than or equal service identifier).
44      * @since 2.0
45      */

46     public static final int RULE_EQUIVALENT = 2;
47
48     /**
49      * Dependency can be satisfied only with plug-in version that is
50      * compatible with the specified version (either is equivalent,
51      * or greater minor identifier (but same major identifier)).
52      * @since 2.0
53      */

54     public static final int RULE_COMPATIBLE = 3;
55
56     /**
57      * Dependency can be satisfied only with plug-in version that is
58      * greater or equal to the specified version.
59      * @since 2.0
60      */

61     public static final int RULE_GREATER_OR_EQUAL = 4;
62     
63     /**
64      * Dependency can be satisfied only if the required identifier
65      * is a prefix of the specified identifier.
66      * @since 2.1
67      */

68     public static final int RULE_PREFIX = 1;
69
70     /**
71      * The search location for updates is defined by the root feature.
72      * @since 2.0.2
73      */

74     public static final int SEARCH_ROOT = 1<<1;
75     
76     /**
77      * The search location for updates is defined by this feature.
78      * @since 2.0.2
79      */

80     public static final int SEARCH_SELF = 1<<2;
81     
82
83 }
84
Popular Tags