RESOLVED - issue BATCH-459: unused StepExecution methods

http://jira.springframework.org/browse/BATCH-459

removed unused methods
This commit is contained in:
robokaso
2008-03-14 15:22:26 +00:00
parent 1f608592fb
commit 0a1c4f49db
2 changed files with 0 additions and 83 deletions

View File

@@ -50,8 +50,6 @@ public class StepExecution extends Entity {
private int skipCount = 0;
private int retryCount = 0;
private Date startTime = new Date(System.currentTimeMillis());
private Date endTime = null;
@@ -93,20 +91,6 @@ public class StepExecution extends Entity {
this(step, jobExecution, null);
}
/**
* Increments the number of commits in this execution
*/
public void incrementCommitCount() {
commitCount++;
}
/**
* Increments the number of items in this execution
*/
public void incrementItemCount() {
itemCount++;
}
/**
* Returns the {@link ExecutionContext} for this execution
*
@@ -179,15 +163,6 @@ public class StepExecution extends Entity {
this.itemCount = itemCount;
}
/**
* Sets the current number of rollbacks for this execution
*
* @param rollbackCount the current number of rollbacks for this execution
*/
public void setRollbackCount(int rollbackCount) {
this.rollbackCount = rollbackCount;
}
/**
* Returns the current number of rollbacks for this execution
*
@@ -358,26 +333,10 @@ public class StepExecution extends Entity {
this.terminateOnly = true;
}
public void setSkipCount(int skipCount) {
this.skipCount = skipCount;
}
public int getSkipCount() {
return skipCount;
}
public void incrementSkipCount() {
skipCount++;
}
public void setRetryCount(int retryCount) {
this.retryCount = retryCount;
}
public int getRetryCount() {
return retryCount;
}
/**
* Convenience method to get the current job parameters.
*