Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2013-01-24 19:11:30 +0000
committerRoberto E. Escobar2013-08-19 22:20:47 +0000
commitafd7e7d0715df91c2fc8fdf57443f80d25e5b14c (patch)
tree737237f3c53d4f98ebacefc617038e71369fd13c /plugins/org.eclipse.osee.framework.core
parentcd99d6a9b039a2377c83c3694e0ba52868fcae2c (diff)
downloadorg.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.tar.gz
org.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.tar.xz
org.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.zip
feature[ats_HC2FY]: Add Port branch creation
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core')
-rw-r--r--plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/enums/BranchType.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/enums/BranchType.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/enums/BranchType.java
index 3c470d406b1..ae4d0c7df4c 100644
--- a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/enums/BranchType.java
+++ b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/enums/BranchType.java
@@ -19,7 +19,9 @@ public enum BranchType {
WORKING(0),
BASELINE(2),
MERGE(3),
- SYSTEM_ROOT(4);
+ SYSTEM_ROOT(4),
+ PORT(5);
+
private final int value;
BranchType(int value) {
@@ -46,6 +48,10 @@ public enum BranchType {
return this == BranchType.WORKING;
}
+ public boolean isPortBranch() {
+ return this == BranchType.PORT;
+ }
+
public boolean isOfType(BranchType... branchTypes) {
for (BranchType branchType : branchTypes) {
if (this == branchType) {

Back to the top