Package ilog.rules.brl.translation
Interface IlrTranslatorInput
-
- All Known Subinterfaces:
IlrTranslatorInputExtension
- All Known Implementing Classes:
IlrBRLRuleElementTranslatorInput,IlrDTIRLTranslator.DTRowTranslatorInput
public interface IlrTranslatorInputDefines BRL translator input. Since JRules 7.1 the contract of a Translator Input has been extended byIlrTranslatorInputExtension. User should implementIlrTranslatorInputExtensioninstead of this one.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDocumentation()Gets the documentation of the element to translate.IlrBRLLoggergetLogger()Gets the BRL logger associated to this translator input.StringgetName()Gets the name of the rule as it will be printed in generated code.StringgetPackageName()Gets the name of the package as it will be printed in generated code.MapgetProperties()Gets the map of properties of the element to translate.IlrSyntaxTreegetSyntaxTree()Gets the syntax tree of the element to translate.
-
-
-
Method Detail
-
getSyntaxTree
IlrSyntaxTree getSyntaxTree()
Gets the syntax tree of the element to translate.- Returns:
- The abstract syntax tree.
-
getName
String getName()
Gets the name of the rule as it will be printed in generated code.- Returns:
- the name
-
getPackageName
String getPackageName()
Gets the name of the package as it will be printed in generated code.- Returns:
- the name of the package containing the element to translate,
or
null.
-
getProperties
Map getProperties()
Gets the map of properties of the element to translate. Notice that the values contained in the map will be printed as they are. No formating will be done by the code generator.- Returns:
- The map of all properties.
-
getDocumentation
String getDocumentation()
Gets the documentation of the element to translate.- Returns:
- The documentation.
-
getLogger
IlrBRLLogger getLogger()
Gets the BRL logger associated to this translator input.- Returns:
- An instance of
IlrBRLLogger.
-
-