org.anadix
Interface ConditionSet

All Known Implementing Classes:
Section508

public interface ConditionSet

Represents a set of conditions to feed into analyzer. To ensure compatibility with parser the ElementFactory used for this condition set has to be of a same class or subclass of ElementFactory used in parser. This is checked during creation of analyzer.

Version:
$Id: $
Author:
tomason

Method Summary
 Class<? extends Parser> getDefaultParser()
          Gets class of the default Parser.
 Collection<DroolsResource> getDroolsResources()
          The most important method - returns resources (typically DRL files) used by Drools engine to analyze requested sources
 Class<? extends ElementFactory> getElementFactoryClass()
          Gets class of used implementation of ElementFactory.
 String getName()
          Gets the name of this condition set
 

Method Detail

getName

String getName()
Gets the name of this condition set

Returns:
name of this condition set

getDroolsResources

Collection<DroolsResource> getDroolsResources()
The most important method - returns resources (typically DRL files) used by Drools engine to analyze requested sources

Returns:
collection of DroolsResources

getElementFactoryClass

Class<? extends ElementFactory> getElementFactoryClass()
Gets class of used implementation of ElementFactory. The element factory class must be subclass or same class as the one used in Parser.

Returns:
class of used implementation of ElementFactory

getDefaultParser

Class<? extends Parser> getDefaultParser()
Gets class of the default Parser. This is important in situation when no parser is specified.

Returns:
class used as a default parser


Copyright © 2011. All Rights Reserved.