public class ResourceModel extends Object implements ResourceModelComponent
ResourceModelComponent
it can be validated by component model validator
which will perform
validation of the entire resource model including all sub components (resources
,
resource methods
...).Modifier and Type | Class and Description |
---|---|
static class |
ResourceModel.Builder
Builder used to create
resource model instances. |
Modifier and Type | Method and Description |
---|---|
void |
accept(ResourceModelVisitor visitor)
A component should call the visitor back with an appropriate
visitor interface method to give it a chance to process.
|
List<? extends ResourceModelComponent> |
getComponents()
Should return all existing resource model sub-components.
|
List<Resource> |
getResources()
Return all resources from this resource model.
|
List<Resource> |
getRootResources()
Return root resources from this resource model.
|
RuntimeResourceModel |
getRuntimeResourceModel()
Return
runtime resource model based on this this resource model. |
public List<Resource> getRootResources()
public List<Resource> getResources()
public void accept(ResourceModelVisitor visitor)
ResourceModelComponent
accept
in interface ResourceModelComponent
visitor
- resource model visitor.public List<? extends ResourceModelComponent> getComponents()
ResourceModelComponent
getComponents
in interface ResourceModelComponent
public RuntimeResourceModel getRuntimeResourceModel()
runtime resource model
based on this this resource model.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.