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

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

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

origin: spring-projects/spring-batch

throw new FlowExecutionException(String.format("No transitions found in flow=%s for state=%s", getName(),
                           stateName));
throw new FlowExecutionException(String.format("Next state not found in flow=%s for state=%s with exit status=%s", getName(), stateName, status.getName()));
                           getName(), next));
origin: spring-projects/spring-batch

@Test
public void testGetStepNamesWithPrefix() throws Exception {
  SimpleFlow flow = new SimpleFlow("job");
  List<StateTransition> transitions = new ArrayList<>();
  transitions.add(StateTransition.createStateTransition(new StepState("job.step", new StubStep("step")), "end0"));
  transitions.add(StateTransition.createEndStateTransition(new EndState(FlowExecutionStatus.COMPLETED, "end0")));
  flow.setStateTransitions(transitions);
  flow.afterPropertiesSet();
  job.setFlow(flow);
  job.setName(flow.getName());
  job.afterPropertiesSet();
  assertEquals("[step]", job.getStepNames().toString());
}
origin: spring-projects/spring-batch

@Test
public void testGetStepNamesWithPrefix() throws Exception {
  SimpleFlow flow = new JsrFlow("job");
  List<StateTransition> transitions = new ArrayList<>();
  transitions.add(StateTransition.createStateTransition(new StepState("job.step", new StubStep("step")), "end0"));
  transitions.add(StateTransition.createEndStateTransition(new EndState(FlowExecutionStatus.COMPLETED, "end0")));
  flow.setStateTransitions(transitions);
  flow.afterPropertiesSet();
  job.setFlow(flow);
  job.setName(flow.getName());
  job.afterPropertiesSet();
  assertEquals("[step]", job.getStepNames().toString());
}
origin: spring-projects/spring-batch

@Test
public void testGetStepExistsWithPrefix() throws Exception {
  SimpleFlow flow = new JsrFlow("job");
  List<StateTransition> transitions = new ArrayList<>();
  transitions.add(StateTransition.createStateTransition(new StepState("job.step", new StubStep("step")), "end0"));
  transitions.add(StateTransition.createEndStateTransition(new EndState(FlowExecutionStatus.COMPLETED, "end0")));
  flow.setStateTransitions(transitions);
  flow.afterPropertiesSet();
  job.setFlow(flow);
  job.setName(flow.getName());
  job.afterPropertiesSet();
  Step step = job.getStep("step");
  assertNotNull(step);
  assertEquals("step", step.getName());
}
origin: spring-projects/spring-batch

@Test
public void testGetStepExistsWithPrefix() throws Exception {
  SimpleFlow flow = new SimpleFlow("job");
  List<StateTransition> transitions = new ArrayList<>();
  transitions.add(StateTransition.createStateTransition(new StepState("job.step", new StubStep("step")), "end0"));
  transitions.add(StateTransition.createEndStateTransition(new EndState(FlowExecutionStatus.COMPLETED, "end0")));
  flow.setStateTransitions(transitions);
  flow.afterPropertiesSet();
  job.setFlow(flow);
  job.setName(flow.getName());
  job.afterPropertiesSet();
  Step step = job.getStep("step");
  assertNotNull(step);
  assertEquals("step", step.getName());
}
origin: org.springframework.batch/org.springframework.batch.core

throw new FlowExecutionException(String.format("No transitions found in flow=%s for state=%s", getName(),
    stateName));
    "Next state not found in flow=%s for state=%s with exit status=%s", getName(), stateName, status.getName()));
    getName(), next));
origin: org.springframework.batch/spring-batch-core

throw new FlowExecutionException(String.format("No transitions found in flow=%s for state=%s", getName(),
                           stateName));
throw new FlowExecutionException(String.format("Next state not found in flow=%s for state=%s with exit status=%s", getName(), stateName, status.getName()));
                           getName(), next));
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

throw new FlowExecutionException(String.format("No transitions found in flow=%s for state=%s", getName(),
                           stateName));
throw new FlowExecutionException(String.format("Next state not found in flow=%s for state=%s with exit status=%s", getName(), stateName, status.getName()));
                           getName(), next));
origin: apache/servicemix-bundles

throw new FlowExecutionException(String.format("No transitions found in flow=%s for state=%s", getName(),
                           stateName));
throw new FlowExecutionException(String.format("Next state not found in flow=%s for state=%s with exit status=%s", getName(), stateName, status.getName()));
                           getName(), next));
org.springframework.batch.core.job.flow.supportSimpleFlowgetName

Javadoc

Get the name for this flow.

Popular methods of SimpleFlow

  • <init>
    Create a flow with the given name.
  • afterPropertiesSet
    Locate start state and pre-populate data structures needed for execution.
  • resume
  • 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

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Notification (javax.management)
  • Option (scala)
  • 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