net.sf.spring.batch.impl
Class DefaultResourceValidationRunner
java.lang.Object
net.sf.spring.batch.impl.DefaultResourceValidationRunner
- All Implemented Interfaces:
- ResourceValidationRunner
- public class DefaultResourceValidationRunner
- extends Object
- implements ResourceValidationRunner
Class for storing and launching resourceValidations.
- Author:
- willy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceValidations
protected List resourceValidations
mimeType
protected String mimeType
resourceValidationResultRenderer
protected ResourceValidationResultRenderer resourceValidationResultRenderer
DefaultResourceValidationRunner
public DefaultResourceValidationRunner()
setResourceValidations
public void setResourceValidations(List resourceValidations)
- Parameters:
resourceValidations
- the resourceValidations to set
setMimeType
public void setMimeType(String mimeType)
- Parameters:
mimeType
- the mimeType to set
setResourceValidationResultRenderer
public void setResourceValidationResultRenderer(ResourceValidationResultRenderer resourceValidationResultRenderer)
- Parameters:
resourceValidationResultRenderer
- the resourceValidationResultRenderer to set
runResourceValidations
public int runResourceValidations()
- Called by launcher to run resourceValidations.
- Specified by:
runResourceValidations
in interface ResourceValidationRunner
- Returns:
- 0 if all resourceValidations are OK.
Copyright © 2009. All Rights Reserved.