net.sf.spring.batch.impl
Class DefaultResourceValidationRunner

java.lang.Object
  extended bynet.sf.spring.batch.impl.DefaultResourceValidationRunner
All Implemented Interfaces:
ResourceValidationRunner

public class DefaultResourceValidationRunner
extends Object
implements ResourceValidationRunner

Class for storing and launching resourceValidations.

Author:
willy

Field Summary
protected  String mimeType
           
protected  ResourceValidationResultRenderer resourceValidationResultRenderer
           
protected  List resourceValidations
           
 
Constructor Summary
DefaultResourceValidationRunner()
           
 
Method Summary
 int runResourceValidations()
          Called by launcher to run resourceValidations.
 void setMimeType(String mimeType)
           
 void setResourceValidationResultRenderer(ResourceValidationResultRenderer resourceValidationResultRenderer)
           
 void setResourceValidations(List resourceValidations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceValidations

protected List resourceValidations

mimeType

protected String mimeType

resourceValidationResultRenderer

protected ResourceValidationResultRenderer resourceValidationResultRenderer
Constructor Detail

DefaultResourceValidationRunner

public DefaultResourceValidationRunner()
Method Detail

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.