Examples of DiscoInputStatus


Examples of org.discoproject.worker.protocol.decoder.types.DiscoInputStatus

  }

  private DiscoInput toInput(final List<String> inputTuple) throws URISyntaxException {
    final int inputId = JsonUtils.asInteger(INPUT_ID_INDEX, inputTuple);
    final String statusString = JsonUtils.asString(INPUT_STATUS_INDEX, inputTuple);
    final DiscoInputStatus status = DiscoInputStatus.valueOf(statusString);
    final List<DiscoInputReplica> replicas = JsonDiscoInputReplicaDecoder.toReplicaList(JsonUtils.asArray(inputTuple
            .get(REPLICAS_INDEX)));

    return new DiscoInput(inputId, status, replicas);
  }
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.