org.springframework.batch.admin.sample
Class RemoteStep

java.lang.Object
  extended by org.springframework.batch.admin.sample.RemoteStep
All Implemented Interfaces:
Step

public class RemoteStep
extends Object
implements Step

Workaround for BATCH-1692, BATCH-1693.

Author:
Dave Syer

Constructor Summary
RemoteStep()
           
 
Method Summary
 void execute(StepExecution stepExecution)
           
 String getName()
           
 int getStartLimit()
           
 boolean isAllowStartIfComplete()
           
 void setAllowStartIfComplete(boolean allowStartIfComplete)
          Public setter for flag that determines whether the step should start again if it is already complete.
 void setName(String name)
          Set the name property.
 void setStartLimit(int startLimit)
          Public setter for the startLimit.
 void setStep(Step delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteStep

public RemoteStep()
Method Detail

setName

public void setName(String name)
Set the name property.

See Also:
#setBeanName(java.lang.String)

getName

public String getName()
Specified by:
getName in interface Step

getStartLimit

public int getStartLimit()
Specified by:
getStartLimit in interface Step

setStartLimit

public void setStartLimit(int startLimit)
Public setter for the startLimit.

Parameters:
startLimit - the startLimit to set

isAllowStartIfComplete

public boolean isAllowStartIfComplete()
Specified by:
isAllowStartIfComplete in interface Step

setAllowStartIfComplete

public void setAllowStartIfComplete(boolean allowStartIfComplete)
Public setter for flag that determines whether the step should start again if it is already complete. Defaults to false.

Parameters:
allowStartIfComplete - the value of the flag to set

setStep

public void setStep(Step delegate)
Parameters:
delegate - the delegate to set

execute

public void execute(StepExecution stepExecution)
             throws JobInterruptedException
Specified by:
execute in interface Step
Throws:
JobInterruptedException


Copyright © 2011. All Rights Reserved.