Class EclModuleParallel
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.AbstractModule
-
- org.eclipse.epsilon.eol.EolModule
-
- org.eclipse.epsilon.erl.ErlModule
-
- org.eclipse.epsilon.ecl.EclModule
-
- org.eclipse.epsilon.ecl.concurrent.EclModuleParallel
-
- All Implemented Interfaces:
IModule
,ModuleElement
,IEclModule
,IEolModule
,IErlModule
- Direct Known Subclasses:
EclModuleParallelAnnotation
public abstract class EclModuleParallel extends EclModule
A no-op parallel module, useful only for extending and setting threads in parallelMatches.- Since:
- 1.6
- Author:
- Sina Madani
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Set<java.lang.String>
CONFIG_PROPERTIES
-
Fields inherited from class org.eclipse.epsilon.ecl.EclModule
declaredMatchRules, matchRules
-
Fields inherited from class org.eclipse.epsilon.erl.ErlModule
declaredPost, declaredPre, post, pre
-
Fields inherited from class org.eclipse.epsilon.eol.EolModule
compilationContext, context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatements
-
Fields inherited from class org.eclipse.epsilon.eol.AbstractModule
parseProblems, parser, sourceFile, sourceUri
-
-
Constructor Summary
Constructors Constructor Description EclModuleParallel()
EclModuleParallel(IEclContextParallel context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(java.util.Map<java.lang.String,?> properties)
WARNING: This method should only be called by the DT plugin for initialization purposes, as the context will be reset!java.util.Set<java.lang.String>
getConfigurationProperties()
Get the set of property names that should be retrieved from the ILaunchConfiguration in order to configure this module.IEclContextParallel
getContext()
java.util.HashMap<java.lang.String,java.lang.Class<?>>
getImportConfiguration()
-
Methods inherited from class org.eclipse.epsilon.ecl.EclModule
adapt, build, createLexer, createParser, execute, getDeclaredMatchRules, getMainRule, getMatchRules, matchAllRules, matchModels, prepareContext, processRules
-
Methods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecution
-
Methods inherited from class org.eclipse.epsilon.eol.EolModule
checkImports, clearCache, compile, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, setContext, setMain, setParentModule, toString
-
Methods inherited from class org.eclipse.epsilon.eol.AbstractModule
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parse
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.ecl.IEclModule
getRulesFor, match
-
Methods inherited from interface org.eclipse.epsilon.eol.IEolModule
getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModule
-
Methods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPre
-
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
compile, createAst, getSourceUri, parse, parse, parse, parse, parse
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Constructor Detail
-
EclModuleParallel
public EclModuleParallel()
-
EclModuleParallel
public EclModuleParallel(IEclContextParallel context)
-
-
Method Detail
-
getContext
public IEclContextParallel getContext()
- Specified by:
getContext
in interfaceIEclModule
- Specified by:
getContext
in interfaceIEolModule
- Specified by:
getContext
in interfaceIErlModule
- Overrides:
getContext
in classEclModule
-
getImportConfiguration
public java.util.HashMap<java.lang.String,java.lang.Class<?>> getImportConfiguration()
- Overrides:
getImportConfiguration
in classEclModule
-
getConfigurationProperties
public java.util.Set<java.lang.String> getConfigurationProperties()
Description copied from interface:IEolModule
Get the set of property names that should be retrieved from the ILaunchConfiguration in order to configure this module.- Returns:
-
configure
public void configure(java.util.Map<java.lang.String,?> properties) throws java.lang.IllegalArgumentException
WARNING: This method should only be called by the DT plugin for initialization purposes, as the context will be reset!- Parameters:
properties
- a map of property:value- Throws:
java.lang.IllegalArgumentException
-
-