Examples of abandonStepExecution()


Examples of org.springframework.batch.core.job.flow.FlowExecutor.abandonStepExecution()

    @Test
    public void testAbandonStepExecution() {
        StepExecution stepExec = createStepExecution("testAbandonJobExecution", "testAbandonStepExecution");
        FlowExecutor executor = createFlowExecutor(stepExec);
        executor.abandonStepExecution();

        Operation op = assertOperationDetails(getFirstEntered(), "abandonStepExecution", stepExec.getStepName());
        assertOperationPath(op, stepExec);
    }
View Full Code Here

Examples of org.springframework.batch.core.job.flow.FlowExecutor.abandonStepExecution()

    }

    @Test
    public void testAbandonNoCurrentStepExecution() {
        FlowExecutor executor = createFlowExecutor(null);
        executor.abandonStepExecution();
        assertOperationDetails(getFirstEntered(), "abandonStepExecution", SpringBatchDefinitions.UNKNOWN_VALUE);
    }

    @Override
    public FlowExecutorCollectionAspect getAspect() {
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.