Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-01-21 00:09:18 +0000
committerRyan D. Brooks2011-01-21 00:09:18 +0000
commit3fc8cb10f0458e6aefd35399bd534058a49f5d59 (patch)
treeb96d19ab0a5939bb52d6fdb65afd95fa52c828a7
parent4ab50339a1223a5b41aeeb2bea24d447e047ec9e (diff)
downloadorg.eclipse.osee-3fc8cb10f0458e6aefd35399bd534058a49f5d59.tar.gz
org.eclipse.osee-3fc8cb10f0458e6aefd35399bd534058a49f5d59.tar.xz
org.eclipse.osee-3fc8cb10f0458e6aefd35399bd534058a49f5d59.zip
feature: Add parameters to allow metrics logging to include user and date
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/TeamWorkflowManager.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/TeamWorkflowManager.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/TeamWorkflowManager.java
index 30f7d0e0e63..bb62ad3ca34 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/TeamWorkflowManager.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/TeamWorkflowManager.java
@@ -45,7 +45,7 @@ public class TeamWorkflowManager {
public Result transitionTo(TeamState toState, User user, boolean popup, SkynetTransaction transaction) throws OseeCoreException {
Date date = new Date();
if (teamArt.isInState(TeamState.Endorse)) {
- Result result = processEndorseState(popup, teamArt, getUserOrDefault(user), date, transaction);
+ Result result = processEndorseState(popup, teamArt, user, date, transaction);
if (result.isFalse()) {
return result;
}
@@ -54,7 +54,7 @@ public class TeamWorkflowManager {
return Result.TrueResult;
}
- Result result = processAnalyzeState(popup, teamArt, getUserOrDefault(user), date, transaction);
+ Result result = processAnalyzeState(popup, teamArt, user, date, transaction);
if (result.isFalse()) {
return result;
}
@@ -63,7 +63,7 @@ public class TeamWorkflowManager {
return Result.TrueResult;
}
- result = processAuthorizeState(popup, teamArt, getUserOrDefault(user), date, transaction);
+ result = processAuthorizeState(popup, teamArt, user, date, transaction);
if (result.isFalse()) {
return result;
}
@@ -88,7 +88,7 @@ public class TeamWorkflowManager {
}
private Result processAuthorizeState(boolean popup, TeamWorkFlowArtifact teamArt, User user, Date date, SkynetTransaction transaction) throws OseeCoreException {
- Result result = setAuthorizeData(popup, 100, .2, user, date);
+ Result result = setAuthorizeData(popup, 100, .2, getUserOrDefault(user), date);
if (result.isFalse()) {
return result;
}
@@ -100,7 +100,7 @@ public class TeamWorkflowManager {
}
private Result processAnalyzeState(boolean popup, TeamWorkFlowArtifact teamArt, User user, Date date, SkynetTransaction transaction) throws OseeCoreException {
- Result result = setAnalyzeData(popup, null, null, 1, 100, .2, user, date);
+ Result result = setAnalyzeData(popup, null, null, 1, 100, .2, getUserOrDefault(user), date);
if (result.isFalse()) {
return result;
}
@@ -112,7 +112,7 @@ public class TeamWorkflowManager {
}
private Result processEndorseState(boolean popup, TeamWorkFlowArtifact teamArt, User user, Date date, SkynetTransaction transaction) throws OseeCoreException {
- Result result = setEndorseData(popup, null, 100, .2, user, date);
+ Result result = setEndorseData(popup, null, 100, .2, getUserOrDefault(user), date);
if (result.isFalse()) {
return result;
}

Back to the top