public final class ControlTransform extends AbstractTransform
Proxied.Abstract
Modifier and Type | Field and Description |
---|---|
static String |
UPDATE_CUTOFF_CONTROL_ACTION
Update cutoff control action.
|
static String |
UPDATE_DOCUMENT_ACTION
Update document action.
|
static String |
UPDATE_FILTER_CONTROL_ACTION
Update filter control action.
|
Constructor and Description |
---|
ControlTransform() |
Modifier and Type | Method and Description |
---|---|
Optional<PointValue> |
applyTo(ResultValue resultValue,
Batch batch)
Applies the program to provide the specified result value.
|
String |
getAction()
Gets the action name.
|
Optional<? extends Transform> |
getInstance(Point point)
Gets an appropriate instance of this transform for the point.
|
boolean |
setUp(Metadata metadata,
ProxyEntity proxyEntity)
Sets up the instance for action.
|
addUpdate, isNullRemoves, setUp, usesFetchedResult
getMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getParams, getProxyEntity, tearDown
public static final String UPDATE_CUTOFF_CONTROL_ACTION
public static final String UPDATE_DOCUMENT_ACTION
public static final String UPDATE_FILTER_CONTROL_ACTION
public Optional<PointValue> applyTo(ResultValue resultValue, Batch batch)
When this method is called, the result value must have been provided with all its needed input values.
Note: the returned value is not required to be an instance of the ResultValue class.
resultValue
- The result value needing update.batch
- The current batch.@Nonnull @CheckReturnValue public String getAction()
public Optional<? extends Transform> getInstance(Point point)
getInstance
in interface Transform
getInstance
in class AbstractTransform
point
- The point.public boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
setUp
in interface Proxied
setUp
in class AbstractTransform
metadata
- The metadata available to the current process.proxyEntity
- The proxy entity refering to the proxied.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.