Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi/src/org/osgi/dto/framework/wiring/BundleRevisionsDTO.java')
-rw-r--r--bundles/org.eclipse.osgi/osgi/src/org/osgi/dto/framework/wiring/BundleRevisionsDTO.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/dto/framework/wiring/BundleRevisionsDTO.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/dto/framework/wiring/BundleRevisionsDTO.java
new file mode 100644
index 000000000..369f761b5
--- /dev/null
+++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/dto/framework/wiring/BundleRevisionsDTO.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) OSGi Alliance (2012). All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.osgi.dto.framework.wiring;
+
+import java.util.List;
+import org.osgi.dto.DTO;
+
+/**
+ * Data Transfer Object for a BundleRevisions.
+ *
+ * <p>
+ * A Bundle can be adapted to provide a {@code BundleRevisionsDTO} for the in
+ * use revisions of the Bundle.
+ *
+ * @author $Id$
+ * @NotThreadSafe
+ */
+public class BundleRevisionsDTO extends DTO {
+ /**
+ * Revisions for the bundle. The first revision is the current revision.
+ */
+ public List<BundleRevisionDTO> revisions;
+}

Back to the top