Tabnine Logo
SimpleFlow.resume
Code IndexAdd Tabnine to your IDE (free)

How to use
resume
method
in
org.springframework.batch.core.job.flow.support.SimpleFlow

Best Java code snippets using org.springframework.batch.core.job.flow.support.SimpleFlow.resume (Showing top 6 results out of 315)

origin: spring-projects/spring-batch

/**
 * @see Flow#start(FlowExecutor)
 */
@Override
public FlowExecution start(FlowExecutor executor) throws FlowExecutionException {
  if (startState == null) {
    initializeTransitions();
  }
  State state = startState;
  String stateName = state.getName();
  return resume(stateName, executor);
}
origin: spring-projects/spring-batch

@Test
public void testResume() throws Exception {
  flow.setStateTransitions(collect(StateTransition.createStateTransition(new StubState("step1"), "step2"),
      StateTransition.createEndStateTransition(new StubState("step2"))));
  flow.afterPropertiesSet();
  FlowExecution execution = flow.resume("step2", executor);
  assertEquals(FlowExecutionStatus.COMPLETED, execution.getStatus());
  assertEquals("step2", execution.getName());
}
origin: org.springframework.batch/spring-batch-core

/**
 * @see Flow#start(FlowExecutor)
 */
@Override
public FlowExecution start(FlowExecutor executor) throws FlowExecutionException {
  if (startState == null) {
    initializeTransitions();
  }
  State state = startState;
  String stateName = state.getName();
  return resume(stateName, executor);
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * @see Flow#start(FlowExecutor)
 */
@Override
public FlowExecution start(FlowExecutor executor) throws FlowExecutionException {
  if (startState == null) {
    initializeTransitions();
  }
  State state = startState;
  String stateName = state.getName();
  return resume(stateName, executor);
}
origin: org.springframework.batch/org.springframework.batch.core

/**
 * @see Flow#start(FlowExecutor)
 */
public FlowExecution start(FlowExecutor executor) throws FlowExecutionException {
  if (startState == null) {
    initializeTransitions();
  }
  State state = startState;
  String stateName = state.getName();
  return resume(stateName, executor);
}
origin: apache/servicemix-bundles

/**
 * @see Flow#start(FlowExecutor)
 */
@Override
public FlowExecution start(FlowExecutor executor) throws FlowExecutionException {
  if (startState == null) {
    initializeTransitions();
  }
  State state = startState;
  String stateName = state.getName();
  return resume(stateName, executor);
}
org.springframework.batch.core.job.flow.supportSimpleFlowresume

Popular methods of SimpleFlow

  • <init>
    Create a flow with the given name.
  • afterPropertiesSet
    Locate start state and pre-populate data structures needed for execution.
  • getName
    Get the name for this flow.
  • setStateTransitions
    Public setter for the stateTransitions.
  • initializeTransitions
    Analyse the transitions provided and generate all the information needed to execute the flow.
  • nextState
  • setStateTransitionComparator
  • isFlowContinued
  • getState
  • start

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now