Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2016-09-14 19:01:44 +0000
committerAngel Avila2016-09-14 19:01:44 +0000
commit35302aad21da8b27f932710105b220a8a83f0ef3 (patch)
treec0899f29d58655ffb0fc17c042eca235bd960af4
parentce721951cccbbfd08734f2df49318bfeae2fff6d (diff)
downloadorg.eclipse.osee-35302aad21da8b27f932710105b220a8a83f0ef3.tar.gz
org.eclipse.osee-35302aad21da8b27f932710105b220a8a83f0ef3.tar.xz
org.eclipse.osee-35302aad21da8b27f932710105b220a8a83f0ef3.zip
feature[ats_ATS312449]: Allow loadChangeTypes to be specified
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/ChangeManager.java4
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/RevisionChangeLoader.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/ChangeManager.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/ChangeManager.java
index 4c2624ed72..67fd95bab7 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/ChangeManager.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/ChangeManager.java
@@ -66,6 +66,10 @@ public final class ChangeManager {
return revsionChangeLoader.getChangesPerArtifact(artifact, monitor);
}
+ public static Collection<Change> getChangesPerArtifact(Artifact artifact, IProgressMonitor monitor, LoadChangeType... loadChangeTypes) throws OseeCoreException {
+ return revsionChangeLoader.getChangesPerArtifact(artifact, monitor, loadChangeTypes);
+ }
+
/**
* Acquires artifact, relation and attribute changes from a source branch since its creation.
*/
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/RevisionChangeLoader.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/RevisionChangeLoader.java
index 882273eaab..9096fb2a18 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/RevisionChangeLoader.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/revision/RevisionChangeLoader.java
@@ -74,7 +74,7 @@ public final class RevisionChangeLoader {
/**
* @return Returns artifact, relation and attribute changes from a specific artifact
*/
- private Collection<Change> getChangesPerArtifact(Artifact artifact, IProgressMonitor monitor, LoadChangeType... loadChangeTypes) throws OseeCoreException {
+ public Collection<Change> getChangesPerArtifact(Artifact artifact, IProgressMonitor monitor, LoadChangeType... loadChangeTypes) throws OseeCoreException {
BranchId branch = artifact.getBranch();
Set<TransactionToken> transactionIds = new LinkedHashSet<>();
boolean recurseThroughBranchHierarchy = true;

Back to the top