public abstract class SelectorEngine extends RPNEngine
Implements an RPN engine acting on selected values of an input point (the last one) controlled by an other input point (the first one).
Proxied.AbstractDEFAULT_LOOP_LIMITDEFAULT_BEHAVIOR_PARAMBINDING_PARAM, ENGINE_EXECUTOR_PARAM, LOOP_LIMIT_PARAM, MACRO_PARAM, MODULE_PARAM, NAME_PARAM, PASSWORD_PARAM, SECURITY_PARAM, USER_PARAM, WORD_PARAM| Constructor and Description |
|---|
SelectorEngine() |
| Modifier and Type | Method and Description |
|---|---|
Transform |
createTransform(TransformEntity proxyEntity)
Creates a transform object.
|
protected Optional<ClassDef> |
defaultBehavior()
Returns the engine specific default behavior.
|
Optional<BehaviorEntity> |
getDefaultBehavior(PointRelation relation)
Gets the default (primary) behavior.
|
protected abstract Class<? extends SelectedBehavior> |
getSelectedBehaviorClass()
Gets the selected behavior class.
|
protected abstract Class<? extends SelectsBehavior> |
getSelectsBehaviorClass()
Gets the selects behavior class.
|
protected abstract Operations |
newOperations()
Returns new operations.
|
protected abstract Transform |
newTransform()
Returns a new transform.
|
boolean |
setUp(Metadata metadata,
ProxyEntity proxyEntity)
Sets up the instance for action.
|
compile, getMacroDefs, getWordDefs, registerclose, getDefaultBehaviorgetMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getParams, getProxyEntity, tearDownpublic final Transform createTransform(TransformEntity proxyEntity)
createTransform in interface EnginecreateTransform in class RPNEngineproxyEntity - The proxy (transform entity) for the transform.public Optional<BehaviorEntity> getDefaultBehavior(PointRelation relation)
On self-reference (when the input point is the same as the result
point), the default behavior becomes Retriggers unless the
"SelectSyncPosition"
is specified.
The first relation selects and the last one is selected. Each intermediate relation retriggers.
getDefaultBehavior in interface EnginegetDefaultBehavior in class RPNEnginerelation - The relation needing a primary behavior.public final boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
protected final Optional<ClassDef> defaultBehavior()
defaultBehavior in class RPNEngine@Nonnull @CheckReturnValue protected abstract Class<? extends SelectedBehavior> getSelectedBehaviorClass()
@Nonnull @CheckReturnValue protected abstract Class<? extends SelectsBehavior> getSelectsBehaviorClass()
@Nonnull @CheckReturnValue protected abstract Operations newOperations()
@Nonnull @CheckReturnValue protected abstract Transform newTransform()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.