Tabnine Logo
StepState.getStep
Code IndexAdd Tabnine to your IDE (free)

How to use
getStep
method
in
org.springframework.batch.core.job.flow.support.state.StepState

Best Java code snippets using org.springframework.batch.core.job.flow.support.state.StepState.getStep (Showing top 5 results out of 315)

origin: spring-projects/spring-batch

/**
 * Provides an extension point to provide alternative {@link StepState}
 * implementations within a {@link SimpleFlow}
 *
 * @param state The state that will be used to create the StepState
 * @param oldName The name to be replaced
 * @param stateName The name for the new State
 * @return a state for the requested data
 */
protected State createNewStepState(State state, String oldName,
    String stateName) {
  return new StepState(stateName, ((StepState) state).getStep(oldName));
}
origin: org.springframework.batch/spring-batch-core

/**
 * Provides an extension point to provide alternative {@link StepState}
 * implementations within a {@link SimpleFlow}
 *
 * @param state The state that will be used to create the StepState
 * @param oldName The name to be replaced
 * @param stateName The name for the new State
 * @return a state for the requested data
 */
protected State createNewStepState(State state, String oldName,
    String stateName) {
  return new StepState(stateName, ((StepState) state).getStep(oldName));
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * Provides an extension point to provide alternative {@link StepState}
 * implementations within a {@link SimpleFlow}
 *
 * @param state The state that will be used to create the StepState
 * @param oldName The name to be replaced
 * @param stateName The name for the new State
 * @return
 */
protected State createNewStepState(State state, String oldName,
    String stateName) {
  return new StepState(stateName, ((StepState) state).getStep(oldName));
}
origin: apache/servicemix-bundles

/**
 * Provides an extension point to provide alternative {@link StepState}
 * implementations within a {@link SimpleFlow}
 *
 * @param state The state that will be used to create the StepState
 * @param oldName The name to be replaced
 * @param stateName The name for the new State
 * @return a state for the requested data
 */
protected State createNewStepState(State state, String oldName,
    String stateName) {
  return new StepState(stateName, ((StepState) state).getStep(oldName));
}
origin: org.springframework.batch/org.springframework.batch.core

/**
 * Convenience method to get a state that proxies the input but with a
 * different name, appropriate to this flow. If the state is a StepState
 * then the step name is also changed.
 * 
 * @param state
 * @return
 */
private State getProxyState(State state) {
  String oldName = state.getName();
  if (oldName.startsWith(prefix)) {
    return state;
  }
  String stateName = prefix + oldName;
  if (state instanceof StepState) {
    return new StepState(stateName, ((StepState) state).getStep());
  }
  return new DelegateState(stateName, state);
}
org.springframework.batch.core.job.flow.support.stateStepStategetStep

Popular methods of StepState

  • <init>
  • handle

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JTable (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best plugins for Eclipse
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