public abstract class AbstractResourceModelVisitor extends Object implements ResourceModelVisitor
resource model visitor
containing empty implementations
of interface methods. This class can be derived by validator implementing only methods needed for specific
validations.Constructor and Description |
---|
AbstractResourceModelVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visitChildResource(Resource resource)
Start visiting a single child resource model.
|
void |
visitInvocable(Invocable invocable)
Visit a single resource method invocable model.
|
void |
visitMethodHandler(MethodHandler methodHandler)
Visit a single resource method handler model.
|
void |
visitResource(Resource resource)
Start visiting a single resource model.
|
void |
visitResourceHandlerConstructor(HandlerConstructor constructor)
Process a resource method handler constructor.
|
void |
visitResourceMethod(ResourceMethod method)
Visit a single resource method model.
|
void |
visitResourceModel(ResourceModel resourceModel)
Process a resource model.
|
void |
visitRuntimeResource(RuntimeResource runtimeResource)
Process a runtime resource model.
|
public void visitResource(Resource resource)
ResourceModelVisitor
visitResource
in interface ResourceModelVisitor
resource
- resource model.public void visitChildResource(Resource resource)
ResourceModelVisitor
visitChildResource
in interface ResourceModelVisitor
resource
- child resource model.public void visitResourceMethod(ResourceMethod method)
ResourceModelVisitor
visitResourceMethod
in interface ResourceModelVisitor
method
- resource method model.public void visitInvocable(Invocable invocable)
ResourceModelVisitor
visitInvocable
in interface ResourceModelVisitor
invocable
- resource method invocable model.public void visitMethodHandler(MethodHandler methodHandler)
ResourceModelVisitor
visitMethodHandler
in interface ResourceModelVisitor
methodHandler
- resource method handler model.public void visitResourceHandlerConstructor(HandlerConstructor constructor)
ResourceModelVisitor
visitResourceHandlerConstructor
in interface ResourceModelVisitor
constructor
- resource method handler constructor.public void visitResourceModel(ResourceModel resourceModel)
ResourceModelVisitor
visitResourceModel
in interface ResourceModelVisitor
resourceModel
- resource model.public void visitRuntimeResource(RuntimeResource runtimeResource)
ResourceModelVisitor
visitRuntimeResource
in interface ResourceModelVisitor
runtimeResource
- runtime resource model.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.