org.eclipse.epsilon.etl
Class EtlModule

java.lang.Object
  extended by org.eclipse.epsilon.common.module.AbstractModuleElement
      extended by org.eclipse.epsilon.eol.AbstractModule
          extended by org.eclipse.epsilon.eol.EolLibraryModule
              extended by org.eclipse.epsilon.erl.ErlModule
                  extended by org.eclipse.epsilon.etl.EtlModule
All Implemented Interfaces:
IModule, ModuleElement, IEolExecutableModule, IEolLibraryModule, IErlModule, IEtlModule
Direct Known Subclasses:
EmlModule

public class EtlModule
extends ErlModule
implements IEtlModule


Constructor Summary
EtlModule()
           
 
Method Summary
 void buildModel()
           
 org.antlr.runtime.Lexer createLexer(java.io.InputStream inputStream)
           
 EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
           
 java.lang.Object execute()
           
 java.util.List<ModuleElement> getChildren()
           
 IEtlContext getContext()
           
 TransformRules getDeclaredTransformRules()
           
 java.util.HashMap<java.lang.String,java.lang.Class<?>> getImportConfiguration()
           
 java.lang.String getMainRule()
           
 TransformRules getTransformRules()
           
 void reset()
           
 void setContext(IEolContext context)
           
 void setContext(IEtlContext context)
           
 
Methods inherited from class org.eclipse.epsilon.erl.ErlModule
getDeclaredPost, getDeclaredPre, getPost, getPre
 
Methods inherited from class org.eclipse.epsilon.eol.EolLibraryModule
getAst, getDeclaredModelDefinitions, getDeclaredModelGroupDefinitions, getDeclaredOperations, getImports, getModelDefinitions, getModelGroupDefinitions, getOperationFactory, getOperations, getParentModule, getSourceFile, main, setOperationFactory, setParentModule, toString
 
Methods inherited from class org.eclipse.epsilon.eol.AbstractModule
adapt, getParseProblems, parse, parse, parse, parse
 
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getSourceUri, setAst
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPre
 
Methods inherited from interface org.eclipse.epsilon.eol.IEolLibraryModule
getDeclaredModelDefinitions, getDeclaredModelGroupDefinitions, getDeclaredOperations, getImports, getModelDefinitions, getModelGroupDefinitions, getOperationFactory, getOperations, getParentModule, getParseProblems, setOperationFactory, setParentModule
 
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
getSourceUri, parse, parse, parse, parse
 
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getAst
 

Constructor Detail

EtlModule

public EtlModule()
Method Detail

createLexer

public org.antlr.runtime.Lexer createLexer(java.io.InputStream inputStream)
Overrides:
createLexer in class EolLibraryModule

createParser

public EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
Overrides:
createParser in class EolLibraryModule

getMainRule

public java.lang.String getMainRule()
Overrides:
getMainRule in class EolLibraryModule

buildModel

public void buildModel()
                throws java.lang.Exception
Specified by:
buildModel in interface IModule
Overrides:
buildModel in class ErlModule
Throws:
java.lang.Exception

getDeclaredTransformRules

public TransformRules getDeclaredTransformRules()
Specified by:
getDeclaredTransformRules in interface IEtlModule

execute

public java.lang.Object execute()
                         throws EolRuntimeException
Specified by:
execute in interface IEolExecutableModule
Throws:
EolRuntimeException

getImportConfiguration

public java.util.HashMap<java.lang.String,java.lang.Class<?>> getImportConfiguration()
Overrides:
getImportConfiguration in class EolLibraryModule

getContext

public IEtlContext getContext()
Specified by:
getContext in interface IEolLibraryModule
Specified by:
getContext in interface IEtlModule

setContext

public void setContext(IEtlContext context)
Specified by:
setContext in interface IEtlModule

getChildren

public java.util.List<ModuleElement> getChildren()
Specified by:
getChildren in interface ModuleElement
Overrides:
getChildren in class EolLibraryModule

reset

public void reset()
Specified by:
reset in interface IModule
Overrides:
reset in class ErlModule

getTransformRules

public TransformRules getTransformRules()
Specified by:
getTransformRules in interface IEtlModule

setContext

public void setContext(IEolContext context)
Specified by:
setContext in interface IEolLibraryModule