@PublicApi
public interface EffectorContext
Effector.getEffectorFunction(Map, EffectorContext)
,
which allows the effector to require attribute values and inspect the
forest spec
being processed.Modifier and Type | Method and Description |
---|---|
ForestSpec |
getForestSpec()
Returns the forest spec processed by the current effector invocation.
|
void |
requireAttribute(AttributeSpec<?> attribute)
Allows the effector to require an attribute that it needs in order to
produce effects.
|
void requireAttribute(@NotNull AttributeSpec<?> attribute)
Allows the effector to require an attribute that it needs in order to produce effects.
Required attribute values for all processed rows, if available,
will be passed to EffectorFunction.produceEffects(ItemForest, RowValues, EffectCollector, ProgressSink)
.
attribute
- the attribute spec@NotNull ForestSpec getForestSpec()
Copyright © 2024 Tempo Software. All Rights Reserved.