Lines 35-64
Link Here
|
35 |
public static final int REPOSITORIES_ALL = 0; |
35 |
public static final int REPOSITORIES_ALL = 0; |
36 |
|
36 |
|
37 |
/** |
37 |
/** |
38 |
* Constant used to indicate that disabled repositories are of interest. |
38 |
* Constant used to indicate that only system repositories are of interest. |
|
|
39 |
* @see IRepository#PROP_SYSTEM |
39 |
* @see #getKnownRepositories(int) |
40 |
* @see #getKnownRepositories(int) |
40 |
*/ |
41 |
*/ |
41 |
public static final int REPOSITORIES_DISABLED = 1 << 3; |
42 |
public static final int REPOSITORIES_SYSTEM = 1 << 0; |
|
|
43 |
|
44 |
/** |
45 |
* Constant used to indicate that only non-system repositories are of interest. |
46 |
* @see IRepository#PROP_SYSTEM |
47 |
* @see #getKnownRepositories(int) |
48 |
*/ |
49 |
public static final int REPOSITORIES_NON_SYSTEM = 1 << 1; |
42 |
|
50 |
|
43 |
/** |
51 |
/** |
44 |
* Constant used to indicate that local repositories are of interest. |
52 |
* Constant used to indicate that only local repositories are of interest. Any |
|
|
53 |
* repository that requires network communication will be omitted when |
54 |
* this flag is used. |
45 |
* @see #getKnownRepositories(int) |
55 |
* @see #getKnownRepositories(int) |
46 |
*/ |
56 |
*/ |
47 |
public static final int REPOSITORIES_LOCAL = 1 << 2; |
57 |
public static final int REPOSITORIES_LOCAL = 1 << 2; |
48 |
|
58 |
|
49 |
/** |
59 |
/** |
50 |
* Constant used to indicate that non-system repositories are of interest. |
60 |
* Constant used to indicate that only remote repositories are of interest. Any |
51 |
* @see IRepository#PROP_SYSTEM |
61 |
* repository that doesn't require network communication will be omitted when |
|
|
62 |
* this flag is used. |
52 |
* @see #getKnownRepositories(int) |
63 |
* @see #getKnownRepositories(int) |
53 |
*/ |
64 |
*/ |
54 |
public static final int REPOSITORIES_NON_SYSTEM = 1 << 1; |
65 |
public static final int REPOSITORIES_NON_LOCAL = 1 << 4; |
55 |
|
66 |
|
56 |
/** |
67 |
/** |
57 |
* Constant used to indicate that system repositories are of interest. |
68 |
* Constant used to indicate that only disabled repositories are of interest. |
58 |
* @see IRepository#PROP_SYSTEM |
69 |
* When this flag is used, all enabled repositories will be ignored and |
|
|
70 |
* all disabled repositories that match the remaining filters will be returned. |
59 |
* @see #getKnownRepositories(int) |
71 |
* @see #getKnownRepositories(int) |
60 |
*/ |
72 |
*/ |
61 |
public static final int REPOSITORIES_SYSTEM = 1 << 0; |
73 |
public static final int REPOSITORIES_DISABLED = 1 << 3; |
62 |
|
74 |
|
63 |
/** |
75 |
/** |
64 |
* Constant used to indicate that a repository manager should only load the |
76 |
* Constant used to indicate that a repository manager should only load the |
Lines 108-114
Link Here
|
108 |
* |
120 |
* |
109 |
* @param flags an integer bit-mask indicating which repositories should be |
121 |
* @param flags an integer bit-mask indicating which repositories should be |
110 |
* returned. <code>REPOSITORIES_ALL</code> can be used as the mask when |
122 |
* returned. <code>REPOSITORIES_ALL</code> can be used as the mask when |
111 |
* all enabled repositories should be returned. |
123 |
* all enabled repositories should be returned. Disabled repositories are automatically |
|
|
124 |
* excluded unless the {@link #REPOSITORIES_DISABLED} flag is set. |
112 |
* @return the locations of the repositories managed by this repository manager. |
125 |
* @return the locations of the repositories managed by this repository manager. |
113 |
* |
126 |
* |
114 |
* @see #REPOSITORIES_ALL |
127 |
* @see #REPOSITORIES_ALL |