Permalink
Browse files

Increases visibility of WorkflowId ctor, adds getters

  • Loading branch information...
1 parent 7376c42 commit ec0bb851842ba4386b94b074aa8adb3cbfd1ed78 @sagemintblue sagemintblue committed Apr 5, 2013
Showing with 13 additions and 1 deletion.
  1. +13 −1 common/src/main/java/com/twitter/ambrose/model/WorkflowId.java
@@ -20,7 +20,7 @@ public static WorkflowId parseString(String workflowId) {
private long timestamp;
private String flowId;
- private WorkflowId(String cluster, String userId, String appId,
+ public WorkflowId(String cluster, String userId, String appId,
long runId, long timestamp, String flowId) {
this.cluster = cluster;
this.userId = userId;
@@ -34,6 +34,18 @@ public String getCluster() {
return cluster;
}
+ public String getUserId() {
+ return userId;
+ }
+
+ public String getAppId() {
+ return appId;
+ }
+
+ public long getRunId() {
+ return runId;
+ }
+
public long getTimestamp() {
return timestamp;
}

0 comments on commit ec0bb85

Please sign in to comment.