Examples of toId()


Examples of com.twitter.ambrose.model.WorkflowId.toId()

  }

  /** Generates a new instance from an hRaven {@link Flow}. */
  private static WorkflowSummary toWorkflowSummary(Flow flow) {
    WorkflowId id = toWorkflowId(flow);
    return new WorkflowSummary(id.toId(), flow.getUserName(), flow.getFlowName(),
        Status.valueOf(flow.getQueueKey().getStatus().name()), flow.getProgress(),
        id.getTimestamp());
  }

  private static WorkflowId toWorkflowId(Flow flow) {
View Full Code Here

Examples of com.twitter.ambrose.model.WorkflowId.toId()

    }
    // initialized is true only if flowKey and flowQueueKey are initialized
    WorkflowId workflowId = new WorkflowId(cluster, username,
        appId, flowKey.getRunId(), flowQueueKey.getTimestamp(),
        flowQueueKey.getFlowId());
    return workflowId.toId();
  }

  @Override
  public void sendDagNodeNameMap(String workflowId,
    Map dagNodeMap) throws IOException {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.