public class ScalaEngine extends Engine
Engine for more details.DEFAULT_ILLEGAL_WORDS, DEFAULT_INPUT_NAME, inputName, javascriptFilesToLoad, parsedRules, poolSize, statics, throwExceptionIfCompilationFails, uniqueOutcomes| Constructor and Description |
|---|
ScalaEngine(scala.collection.Iterable<Rule> rules,
boolean throwExceptionIfCompilationFails)
See
#Engine(java.util.Collection, boolean). Supports Scala collections. |
| Modifier and Type | Method and Description |
|---|---|
<Input,Output> |
executeAllActions(Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
See
#executeAllActions(Object, java.util.Collection), supports Scala collections. |
<Input,Output> |
executeAllActions(String nameSpacePattern,
Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
See
#executeAllActions(String, Object, java.util.Collection), supports Scala collections. |
<Input,Output> |
executeBestAction(Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
See
#executeBestAction(Object, java.util.Collection), supports Scala collections. |
<Input,Output> |
executeBestAction(String namespace,
Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
See
#executeBestAction(String, Object, java.util.Collection), supports Scala collections. |
compile, executeAllActions, executeAllActions, executeBestAction, executeBestAction, getBestOutcome, getBestOutcome, getMatchingRules, getMatchingRules, init, initIllegalWords, verifyLegalpublic ScalaEngine(scala.collection.Iterable<Rule> rules, boolean throwExceptionIfCompilationFails) throws DuplicateNameException, CompileException, ParseException
#Engine(java.util.Collection, boolean). Supports Scala collections.public <Input,Output> void executeAllActions(String nameSpacePattern, Input input, scala.collection.Iterable<AbstractAction<Input,Output>> actions) throws NoMatchingRuleFoundException, NoActionFoundException, DuplicateNameException
#executeAllActions(String, Object, java.util.Collection), supports Scala collections.public <Input,Output> void executeAllActions(Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
throws NoMatchingRuleFoundException,
NoActionFoundException,
DuplicateNameException
#executeAllActions(Object, java.util.Collection), supports Scala collections.public <Input,Output> Output executeBestAction(Input input,
scala.collection.Iterable<AbstractAction<Input,Output>> actions)
throws NoMatchingRuleFoundException,
NoActionFoundException,
DuplicateNameException
#executeBestAction(Object, java.util.Collection), supports Scala collections.public <Input,Output> Output executeBestAction(String namespace, Input input, scala.collection.Iterable<AbstractAction<Input,Output>> actions) throws NoMatchingRuleFoundException, NoActionFoundException, DuplicateNameException
#executeBestAction(String, Object, java.util.Collection), supports Scala collections.Copyright © 2019 Ant Kutschera. All rights reserved.