import org.argeo.osgi.boot.OsgiBootUtils;
import org.osgi.framework.Version;
-class A2Branch implements Comparable<A2Branch> {
+/**
+ * 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<A2Branch> {
private final A2Component component;
private final String id;
final SortedMap<Version, A2Module> 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);