Tabnine Logo
FlowStep.setName
Code IndexAdd Tabnine to your IDE (free)

How to use
setName
method
in
org.springframework.batch.core.job.flow.FlowStep

Best Java code snippets using org.springframework.batch.core.job.flow.FlowStep.setName (Showing top 8 results out of 315)

origin: spring-projects/spring-batch

/**
 * Ensure that the flow is set.
 * @see AbstractStep#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.state(flow != null, "A Flow must be provided");
  if (getName()==null) {
    setName(flow.getName());
  }
  super.afterPropertiesSet();
}
origin: spring-projects/spring-batch

/**
 * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a
 * transaction because the individual steps are supposed to manage their own transaction state.
 * 
 * @return a flow step
 */
public Step build() {
  FlowStep step = new FlowStep();
  step.setName(getName());
  step.setFlow(flow);
  super.enhance(step);
  try {
    step.afterPropertiesSet();
  }
  catch (Exception e) {
    throw new StepBuilderException(e);
  }
  return step;
}
origin: org.springframework.batch/spring-batch-core

/**
 * Ensure that the flow is set.
 * @see AbstractStep#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.state(flow != null, "A Flow must be provided");
  if (getName()==null) {
    setName(flow.getName());
  }
  super.afterPropertiesSet();
}
origin: apache/servicemix-bundles

/**
 * Ensure that the flow is set.
 * @see AbstractStep#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.state(flow != null, "A Flow must be provided");
  if (getName()==null) {
    setName(flow.getName());
  }
  super.afterPropertiesSet();
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * Ensure that the flow is set.
 * @see AbstractStep#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.state(flow != null, "A Flow must be provided");
  if (getName()==null) {
    setName(flow.getName());
  }
  super.afterPropertiesSet();
}
origin: apache/servicemix-bundles

/**
 * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a
 * transaction because the individual steps are supposed to manage their own transaction state.
 * 
 * @return a flow step
 */
public Step build() {
  FlowStep step = new FlowStep();
  step.setName(getName());
  step.setFlow(flow);
  super.enhance(step);
  try {
    step.afterPropertiesSet();
  }
  catch (Exception e) {
    throw new StepBuilderException(e);
  }
  return step;
}
origin: org.springframework.batch/spring-batch-core

/**
 * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a
 * transaction because the individual steps are supposed to manage their own transaction state.
 * 
 * @return a flow step
 */
public Step build() {
  FlowStep step = new FlowStep();
  step.setName(getName());
  step.setFlow(flow);
  super.enhance(step);
  try {
    step.afterPropertiesSet();
  }
  catch (Exception e) {
    throw new StepBuilderException(e);
  }
  return step;
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * Build a step that executes the flow provided, normally composed of other steps. The flow is not executed in a
 * transaction because the individual steps are supposed to manage their own transaction state.
 * 
 * @return a flow step
 */
public Step build() {
  FlowStep step = new FlowStep();
  step.setName(getName());
  step.setFlow(flow);
  super.enhance(step);
  try {
    step.afterPropertiesSet();
  }
  catch (Exception e) {
    throw new StepBuilderException(e);
  }
  return step;
}
org.springframework.batch.core.job.flowFlowStepsetName

Popular methods of FlowStep

  • <init>
    Constructor for a FlowStep that sets the flow and of the step explicitly.
  • setFlow
    Public setter for the flow.
  • afterPropertiesSet
    Ensure that the flow is set.
  • getJobRepository
  • getName
  • execute
  • setJobRepository

Popular in Java

  • Running tasks concurrently on multiple threads
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JFileChooser (javax.swing)
  • Top Vim plugins
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