public abstract class AbstractResourceModelTransformer extends Object implements ResourceTransformer
Modifier and Type | Class and Description |
---|---|
static class |
AbstractResourceModelTransformer.AbstractDefinitionLoader |
static interface |
AbstractResourceModelTransformer.ResourceDefinitionLoader |
DEFAULT, DISCARD
Modifier | Constructor and Description |
---|---|
protected |
AbstractResourceModelTransformer(AbstractResourceModelTransformer.ResourceDefinitionLoader loader) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.jboss.dmr.ModelNode |
transformModel(TransformationContext context,
org.jboss.dmr.ModelNode model)
Transform the model.
|
void |
transformResource(ResourceTransformationContext context,
PathAddress address,
Resource resource)
Transform a resource.
|
protected AbstractResourceModelTransformer(AbstractResourceModelTransformer.ResourceDefinitionLoader loader)
protected abstract org.jboss.dmr.ModelNode transformModel(TransformationContext context, org.jboss.dmr.ModelNode model)
context
- the transformation contextmodel
- the model to transformpublic void transformResource(ResourceTransformationContext context, PathAddress address, Resource resource)
ResourceTransformer
transformResource
in interface ResourceTransformer
context
- the resource transformation contextaddress
- the path addressresource
- the resource to transformCopyright © 2015 JBoss by Red Hat. All rights reserved.