X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.osgi.boot%2Fsrc%2Forg%2Fargeo%2Fosgi%2Fboot%2Fa2%2FA2Branch.java;h=9e3f81dec95cbfa5758d18c3ea34a55145cace05;hb=c155192cfcd5ca355eb933fa3f55dbad6d01b958;hp=ae715eceae5420c9cc2d42b0c65639a3e51f9d26;hpb=088c1b517a543e935d8ab65c3b2fd2d0269b551d;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/a2/A2Branch.java b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/a2/A2Branch.java index ae715ecea..9e3f81dec 100644 --- a/org.argeo.osgi.boot/src/org/argeo/osgi/boot/a2/A2Branch.java +++ b/org.argeo.osgi.boot/src/org/argeo/osgi/boot/a2/A2Branch.java @@ -7,13 +7,18 @@ import java.util.TreeMap; import org.argeo.osgi.boot.OsgiBootUtils; import org.osgi.framework.Version; -class A2Branch implements Comparable { +/** + * A logical linear sequence of versions of a given {@link A2Component}. This is + * typically a combination of major and minor version, indicating backward + * compatibility. + */ +public class A2Branch implements Comparable { private final A2Component component; private final String id; final SortedMap modules = Collections.synchronizedSortedMap(new TreeMap<>()); - A2Branch(A2Component component, String id) { + public A2Branch(A2Component component, String id) { this.component = component; this.id = id; component.branches.put(id, this);