diff options
author | David W. Miller | 2013-01-24 19:11:30 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2013-08-19 22:20:47 +0000 |
commit | afd7e7d0715df91c2fc8fdf57443f80d25e5b14c (patch) | |
tree | 737237f3c53d4f98ebacefc617038e71369fd13c /plugins/org.eclipse.osee.framework.core | |
parent | cd99d6a9b039a2377c83c3694e0ba52868fcae2c (diff) | |
download | org.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.tar.gz org.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.tar.xz org.eclipse.osee-afd7e7d0715df91c2fc8fdf57443f80d25e5b14c.zip |
feature[ats_HC2FY]: Add Port branch creation
Change-Id: If6da42b27a95713ffc7b2bfc092065ac941cda78
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.java | 8 |
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) { |