net.sf.spring.batch.impl
Interface BatchResourceValidation


public interface BatchResourceValidation

Defines the contract between the DefaultResourceValidationRunner and a diagnostic.

Author:
willy

Method Summary
 boolean exectue(StringBuffer buffer, String mimeType)
          Executes the diagnostic.
 String getName()
          Get the name of the diagnostic.
 

Method Detail

getName

public String getName()
Get the name of the diagnostic.

Returns:
the diagnostic name.

exectue

public boolean exectue(StringBuffer buffer,
                       String mimeType)
Executes the diagnostic.

Parameters:
buffer - The buffer to store the result.
mimeType - The mime type of the output.
Returns:
True on diagnostic success.


Copyright © 2009. All Rights Reserved.