Skip to content
This repository
Browse code

Increases visibility of WorkflowId ctor, adds getters

  • Loading branch information...
commit ec0bb851842ba4386b94b074aa8adb3cbfd1ed78 1 parent 7376c42
Andy Schlaikjer sagemintblue authored
14 common/src/main/java/com/twitter/ambrose/model/WorkflowId.java
@@ -20,7 +20,7 @@ public static WorkflowId parseString(String workflowId) {
20 20 private long timestamp;
21 21 private String flowId;
22 22
23   - private WorkflowId(String cluster, String userId, String appId,
  23 + public WorkflowId(String cluster, String userId, String appId,
24 24 long runId, long timestamp, String flowId) {
25 25 this.cluster = cluster;
26 26 this.userId = userId;
@@ -34,6 +34,18 @@ public String getCluster() {
34 34 return cluster;
35 35 }
36 36
  37 + public String getUserId() {
  38 + return userId;
  39 + }
  40 +
  41 + public String getAppId() {
  42 + return appId;
  43 + }
  44 +
  45 + public long getRunId() {
  46 + return runId;
  47 + }
  48 +
37 49 public long getTimestamp() {
38 50 return timestamp;
39 51 }

0 comments on commit ec0bb85

Please sign in to comment.
Something went wrong with that request. Please try again.