Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-01-12 14:41:44 +0000
committerJohn Arthorne2010-01-12 14:41:44 +0000
commitf3b11d3bff803018596dc03cad5d7669836f3eee (patch)
treecfed584e2a675a74ca1ae64e6055d47bcc4d5f35
parentde8d68faa0f34826f82e11daa0bd14cf300901ac (diff)
downloadrt.equinox.p2-f3b11d3bff803018596dc03cad5d7669836f3eee.tar.gz
rt.equinox.p2-f3b11d3bff803018596dc03cad5d7669836f3eee.tar.xz
rt.equinox.p2-f3b11d3bff803018596dc03cad5d7669836f3eee.zip
Added @since tags
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/query/InstallableUnitQuery.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/Collector.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQuery.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQueryable.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ContextQuery.java3
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ICompositeQuery.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IMatchQuery.java7
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IQueryable.java3
8 files changed, 13 insertions, 11 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/query/InstallableUnitQuery.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/query/InstallableUnitQuery.java
index 67be63c11..6450d8aea 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/query/InstallableUnitQuery.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/query/InstallableUnitQuery.java
@@ -18,6 +18,7 @@ import org.eclipse.equinox.p2.query.MatchQuery;
/**
* A query that matches on the id and version of an {@link IInstallableUnit}.
+ * @since 2.0
*/
public class InstallableUnitQuery extends MatchQuery<IInstallableUnit> {
/**
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/Collector.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/Collector.java
index 9a9237bf2..dfd0ad2e0 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/Collector.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/Collector.java
@@ -26,6 +26,7 @@ import org.eclipse.equinox.internal.p2.metadata.Messages;
* <p>
* This default collector just accepts all objects passed to it. Clients may subclass
* to perform different processing on the objects passed to it.
+ * @since 2.0
*/
public class Collector<T> implements IQueryResult<T> {
private Set<T> collected = null;
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQuery.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQuery.java
index 0fa69fb88..594738036 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQuery.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQuery.java
@@ -28,6 +28,7 @@ import org.eclipse.equinox.internal.p2.query.QueryHelpers;
* resulting compound query will be a {@link ContextQuery}.
*
* @noextend This class is not intended to be subclassed by clients.
+ * @since 2.0
*/
public abstract class CompoundQuery<T> implements ICompositeQuery<T> {
protected IQuery<T>[] queries;
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQueryable.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQueryable.java
index 926776d2f..bbfd2bd20 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQueryable.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/CompoundQueryable.java
@@ -9,9 +9,6 @@
******************************************************************************/
package org.eclipse.equinox.p2.query;
-
-
-
import java.lang.reflect.Array;
import java.util.*;
import org.eclipse.core.runtime.*;
@@ -20,6 +17,7 @@ import org.eclipse.equinox.internal.p2.core.helpers.CollectionUtils;
/**
* A queryable that holds a number of other IQueryables and provides
* a mechanism for querying the entire set.
+ * @since 2.0
*/
public class CompoundQueryable<T> implements IQueryable<T> {
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ContextQuery.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ContextQuery.java
index df9d8ede4..f65aa8a52 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ContextQuery.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ContextQuery.java
@@ -9,8 +9,6 @@
******************************************************************************/
package org.eclipse.equinox.p2.query;
-
-
import java.util.Iterator;
import org.eclipse.equinox.internal.p2.query.QueryHelpers;
@@ -32,6 +30,7 @@ import org.eclipse.equinox.internal.p2.query.QueryHelpers;
* computation, to allow {@link IQueryable} implementations to optimize their
* execution of the query. <P>
*
+ * @since 2.0
*/
public abstract class ContextQuery<T> implements IQuery<T> {
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ICompositeQuery.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ICompositeQuery.java
index 6b06733dc..1b0baeae5 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ICompositeQuery.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/ICompositeQuery.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2009 EclipseSource and others. All rights reserved. This
+* Copyright (c) 2009, 2010 EclipseSource and others. 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
@@ -9,12 +9,12 @@
******************************************************************************/
package org.eclipse.equinox.p2.query;
-
import java.util.List;
/**
* A query that contains a number of sub queries. All queries that support sub-queries
* should implement this interface so clients can access the sub queries.
+ * @since 2.0
*/
public interface ICompositeQuery<T> extends IQuery<T> {
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IMatchQuery.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IMatchQuery.java
index 517dc1799..b25b044b6 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IMatchQuery.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IMatchQuery.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2009 EclipseSource and others. All rights reserved. This
+* Copyright (c) 2009, 2010 EclipseSource and others. 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
@@ -9,14 +9,15 @@
******************************************************************************/
package org.eclipse.equinox.p2.query;
-
/**
* A query in which the elements can be evaluated by calling isMatch on. Each
* element can be evaluated independently of all other elements. Match queries
* can be evaluated in parallel as each call {@link #isMatch(Object)} is mutually
* exclusive from all other calls. <P>
*
- * @spi Clients should not implement this interface, but rather extend {@link MatchQuery}.
+ * @noimplement This interface is not intended to be implemented by clients. Clients
+ * creating custom queries must extend {@link MatchQuery} instead.
+ * @since 2.0
*/
public interface IMatchQuery<T> extends IQuery<T> {
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IQueryable.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IQueryable.java
index e033e993c..22b4d8bd7 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IQueryable.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/query/IQueryable.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 IBM Corporation and others.
+ * Copyright (c) 2007, 2010 IBM Corporation and others.
* 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
@@ -16,6 +16,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
* An IQueryable contains objects, and is able to perform queries on those objects.
* <p>
* This interface may be implemented by clients.
+ * @since 2.0
*/
public interface IQueryable<T> {
/**

Back to the top