private List<OperationInfo> getSubPipeOperations(SubPipeType subPipe) { return subPipe.getExecOnce().stream() .map(execOnce -> new OperationInfo(execOnce.getValue(), execOnce.getName(), ContextInfo.EMPTY, skipOperationResolver .setContextInfo(ContextInfo.EMPTY) .isSkip(execOnce))) .collect(Collectors.toList()); }
private List<OperationInfo> getSubPipeOperations(SubPipeType subPipe) { List<OperationInfo> result = new ArrayList<>(); ContextInfo contextInfo = new ContextInfoBuilder() .setSequenceUuid(currentSeqUuid) .setSequenceType(seqType) .build(); result.addAll(subPipe.getExecOnce().stream() .map(execOnce -> new OperationInfo(execOnce.getValue(), execOnce.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo) .isSkip(execOnce, execEachSeq))) .collect(Collectors.toList())); return result; }
private List<OperationInfo> getSubPipeOperations(SubPipeType subPipe) { ContextInfo contextInfo = new ContextInfoBuilder() .setSegmentUuid(currentSegmentUuid) .build(); return subPipe.getExecOnce().stream() .map(execOnce -> new OperationInfo(execOnce.getValue(), execOnce.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo) .isSkip(execOnce, execEachSegm))) .collect(Collectors.toList()); }
private OperationInfo getExecOnceOperation(ExecOnceType execOnce) { return new OperationInfo(execOnce.getValue(), execOnce.getName(), ContextInfo.EMPTY, skipOperationResolver .setContextInfo(ContextInfo.EMPTY) .isSkip(execOnce)); }
@Override public void execute() throws IOException { OperationInfo operationInfo = new OperationInfo(operation.getValue(), operation.getName(), ContextInfo.EMPTY, skipOperationResolver .setContextInfo(ContextInfo.EMPTY) .isSkip(operation)); executeStrategyFactory.createExecuteOnceStrategy(contextProvider).execute(operationInfo); }
private OperationInfo getExecOnceOperation(ExecOnceType execOnce) { ContextInfo contextInfo = new ContextInfoBuilder() .setSegmentUuid(currentSegmentUuid) .build(); return new OperationInfo(execOnce.getValue(), execOnce.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo) .isSkip(execOnce, execEachSegm)); }
private OperationInfo getExecOnceOperation(ExecOnceType execOnce) { ContextInfo contextInfo = new ContextInfoBuilder() .setSequenceUuid(currentSeqUuid) .setSequenceType(seqType) .build(); return new OperationInfo(execOnce.getValue(), execOnce.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo) .isSkip(execOnce, execEachSeq)); }
List<OperationInfo> pipeOperations = new ArrayList<>(); for (ExecOnceType execOnceType : execSegment.getPipe().getExecOnce()) { OperationInfo operationInfo = new OperationInfo(execOnceType.getValue(), execOnceType.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo)
List<OperationInfo> pipeOperations = new ArrayList<>(); for (ExecOnceType execOnceType : execSequence.getPipe().getExecOnce()) { OperationInfo operationInfo = new OperationInfo(execOnceType.getValue(), execOnceType.getName(), contextInfo, skipOperationResolver .setContextInfo(contextInfo)