org.apache.commons.contract
Interface Processor


public interface Processor


Method Summary
 ParameterDescriptor[] getParameterDescriptors()
           
 ResultDescriptor[] getResultDescriptors()
           
 Result process(Map parameter, Context context)
          Implement this method to provide the logic of the processor
 

Method Detail

process

Result process(Map parameter,
               Context context)
               throws Exception
Implement this method to provide the logic of the processor

Parameters:
parameter - a map containing the parameters for this process call.
Returns:
result
Throws:
Exception

getParameterDescriptors

ParameterDescriptor[] getParameterDescriptors()

getResultDescriptors

ResultDescriptor[] getResultDescriptors()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.