protected void invokeCoreStep() throws BatchContainerServiceException { this.chunk = step.getChunk(); initializeChunkArtifacts(); invokeChunk(); }
@Override protected void invokeCoreStep() throws BatchContainerServiceException { this.chunk = step.getChunk(); initializeChunkArtifacts(); initializeCheckpointManager(); invokeChunk(); }
@Override protected void invokeCoreStep() throws BatchContainerServiceException { this.chunk = getStep().getChunk(); initializeChunkArtifacts(); initializeCheckpointManager(); invokeChunk(); }
logger.finer("Found batchlet: " + batchlet + ", with ref= " + batchlet.getRef()); if (step.getChunk() != null) { throw new IllegalArgumentException("Step contains both a batchlet and a chunk. Aborting."); Chunk chunk = step.getChunk(); if(logger.isLoggable(Level.FINER)) { logger.finer("Found chunk: " + chunk);
logger.finer("Found batchlet: " + batchlet + ", with ref= " + batchlet.getRef()); if (step.getChunk() != null) { throw new IllegalArgumentException("Step contains both a batchlet and a chunk. Aborting."); Chunk chunk = step.getChunk(); if(logger.isLoggable(Level.FINER)) { logger.finer("Found chunk: " + chunk);
public static CheckpointAlgorithmProxy getCheckpointAlgorithmProxy (Step step, InjectionReferences injectionReferences, StepContextImpl stepContext) throws ArtifactValidationException{ Chunk chunk = step.getChunk(); CheckpointAlgorithmProxy proxy = null; String checkpointType = chunk.getCheckpointPolicy(); if (checkpointType.equals("item")) { proxy = new CheckpointAlgorithmProxy( new ItemCheckpointAlgorithm()); }else if (checkpointType.equalsIgnoreCase("custom")) { proxy = ProxyFactory.createCheckpointAlgorithmProxy(chunk .getCheckpointAlgorithm().getRef(), injectionReferences, stepContext); } return proxy; }
logger.finer("Found batchlet: " + batchlet + ", with ref= " + batchlet.getRef()); if (step.getChunk() != null) { throw new IllegalArgumentException("Step contains both a batchlet and a chunk. Aborting."); Chunk chunk = step.getChunk(); if(logger.isLoggable(Level.FINER)) { logger.finer("Found chunk: " + chunk);
public static boolean equals(Step step1, Step step2) { if(step1 == null && step2 == null) return true; if(step1 == null || step2 == null) return false; //TODO: finish with remaining fields return equals(step1.getChunk(), step2.getChunk()) && equals(step1.getListeners(), step2.getListeners()) && equals(step1.getProperties(), step2.getProperties()) && nullSafeEquals(step1.getAllowStartIfComplete(), step2.getAllowStartIfComplete()) && nullSafeEquals(step1.getNextFromAttribute(), step2.getNextFromAttribute()); }
public static boolean equals(Step step1, Step step2) { if(step1 == null && step2 == null) return true; if(step1 == null || step2 == null) return false; //TODO: finish with remaining fields return equals(step1.getChunk(), step2.getChunk()) && equals(step1.getListeners(), step2.getListeners()) && equals(step1.getProperties(), step2.getProperties()) && nullSafeEquals(step1.getAllowStartIfComplete(), step2.getAllowStartIfComplete()) && nullSafeEquals(step1.getNextFromAttribute(), step2.getNextFromAttribute()); }
public static boolean equals(Step step1, Step step2) { if(step1 == null && step2 == null) return true; if(step1 == null || step2 == null) return false; //TODO: finish with remaining fields return equals(step1.getChunk(), step2.getChunk()) && equals(step1.getListeners(), step2.getListeners()) && equals(step1.getProperties(), step2.getProperties()) && nullSafeEquals(step1.getAllowStartIfComplete(), step2.getAllowStartIfComplete()) && nullSafeEquals(step1.getNextFromAttribute(), step2.getNextFromAttribute()); }