org.drools.base.evaluators
Interface EvaluatorParametersParser

All Known Implementing Classes:
TimeIntervalParser

public interface EvaluatorParametersParser

An interface for Evaluator Parameters Parser. Evaluators may optionally have parameters. This parameters are passed into the EvaluatorDefinition as a String that needs to eventually be parsed. This interface defines the operations a parser implementation must expose.


Method Summary
 Object[] parse(String paramText)
          Parses the given paramText and return an array of objects where each position in the array corresponds to the appropriate parameter in the parameter string.
 

Method Detail

parse

Object[] parse(String paramText)
Parses the given paramText and return an array of objects where each position in the array corresponds to the appropriate parameter in the parameter string.

Parameters:
paramText - the string of parameters
Returns:
the array of objects corresponding to each parameter


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.