Package step.core.entities
Interface DependencyTreeVisitorHook
-
public interface DependencyTreeVisitorHook
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonVisitEntity(Object entity, EntityDependencyTreeVisitor.EntityTreeVisitorContext context)This hook is called for each visited entity when traversing an entity tree withEntityDependencyTreeVisitor.
This hook can be used to handle custom dependencies that cannot be handled by the annotationEntityReference: to handle a custom dependency the hook should call the methodEntityDependencyTreeVisitor.EntityTreeVisitorContext.visitEntity(String, String)of the context object
-
-
-
Method Detail
-
onVisitEntity
void onVisitEntity(Object entity, EntityDependencyTreeVisitor.EntityTreeVisitorContext context)
This hook is called for each visited entity when traversing an entity tree withEntityDependencyTreeVisitor.
This hook can be used to handle custom dependencies that cannot be handled by the annotationEntityReference: to handle a custom dependency the hook should call the methodEntityDependencyTreeVisitor.EntityTreeVisitorContext.visitEntity(String, String)of the context object- Parameters:
entity- the entity that has been visitedcontext-
-
-