Class EplModuleParallel
- java.lang.Object
-
- All Implemented Interfaces:
IModule
,ModuleElement
,IEolModule
,IEplModule
,IErlModule
- Direct Known Subclasses:
EplModuleParallelPatterns
public class EplModuleParallel extends EplModule
Only useful for parallel first-order operations.- Since:
- 1.6
- Author:
- Sina Madani
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.epsilon.epl.AbstractEplModule
AbstractEplModule.LazyAdvancedRoleInstancesInitializer, AbstractEplModule.LazyBasicRoleInstancesInitializer
-
-
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.epl.AbstractEplModule
declaredPatterns, INFINITE, maxLoops, patternMatchModelName, patterns, repeatWhileMatchesFound
-
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 EplModuleParallel()
EplModuleParallel(IEplContextParallel 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 initialisation 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.IEplContextParallel
getContext()
java.util.HashMap<java.lang.String,java.lang.Class<?>>
getImportConfiguration()
-
Methods inherited from class org.eclipse.epsilon.epl.EplModule
createCombinationGenerator, getCandidates, initGenerator, wrapAdvancedRoleInstances, wrapBasicRoleInstances
-
Methods inherited from class org.eclipse.epsilon.epl.AbstractEplModule
adapt, build, createLexer, createModel, createParser, createPatternMatch, executeDoBlock, filterElements, flatMapRoleBindings, getDeclaredPatterns, getMainRule, getMatchResult, getMaxLoops, getPatterns, getRoleInstances, getVariables, isRepeatWhileMatches, isValidCombination, match, matchCombination, matchPatterns, matchPatterns, negativeGuard, postProcessMatches, preMatch, processRules, putRoleBindingsIntoFrame, setMaxLoops, setRepeatWhileMatches
-
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, execute, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, prepareContext, 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.eol.IEolModule
execute, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModule
-
Methods inherited from interface org.eclipse.epsilon.epl.IEplModule
getMaximumLevel
-
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
-
EplModuleParallel
public EplModuleParallel()
-
EplModuleParallel
public EplModuleParallel(IEplContextParallel context)
-
-
Method Detail
-
getContext
public IEplContextParallel getContext()
- Specified by:
getContext
in interfaceIEolModule
- Specified by:
getContext
in interfaceIErlModule
- Overrides:
getContext
in classAbstractEplModule
-
getImportConfiguration
public java.util.HashMap<java.lang.String,java.lang.Class<?>> getImportConfiguration()
- Overrides:
getImportConfiguration
in classAbstractEplModule
-
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 initialisation purposes, as the context will be reset!- Parameters:
properties
- a map of property:value- Throws:
java.lang.IllegalArgumentException
-
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:
-
-