Package step.core.objectenricher
Interface ObjectHook
-
public interface ObjectHook
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectEnrichergetObjectEnricher(step.core.AbstractContext context)ObjectFiltergetObjectFilter(step.core.AbstractContext context)booleanisObjectAcceptableInContext(step.core.AbstractContext context, step.core.objectenricher.EnricheableObject object)Check if the provided object is acceptable in the provided contextvoidrebuildContext(step.core.AbstractContext context, step.core.objectenricher.EnricheableObject object)Rebuilds anAbstractContextbased on an object that has been previously enriched with anObjectEnricherprovided by this class
-
-
-
Method Detail
-
getObjectFilter
ObjectFilter getObjectFilter(step.core.AbstractContext context)
-
getObjectEnricher
ObjectEnricher getObjectEnricher(step.core.AbstractContext context)
-
rebuildContext
void rebuildContext(step.core.AbstractContext context, step.core.objectenricher.EnricheableObject object) throws ExceptionRebuilds anAbstractContextbased on an object that has been previously enriched with anObjectEnricherprovided by this class- Parameters:
context- the context to be recreatedobject- the object to base the context reconstruction on- Throws:
Exception
-
isObjectAcceptableInContext
boolean isObjectAcceptableInContext(step.core.AbstractContext context, step.core.objectenricher.EnricheableObject object)Check if the provided object is acceptable in the provided context- Parameters:
context-object-- Returns:
- true if the provided object belongs to the provided context or doesn't belong to any context
-
-