public class IgnoreDomainResourceTypeResource extends PlaceholderResource.PlaceholderResourceEntry
Resource
implementation for a given type of ignored resource.PlaceholderResource.PlaceholderResourceEntry
Resource.Factory, Resource.NoSuchResourceException, Resource.ResourceEntry, Resource.Tools
INSTANCE
Constructor and Description |
---|
IgnoreDomainResourceTypeResource(String type,
org.jboss.dmr.ModelNode names,
Boolean wildcard)
Constructor for use by operation step handlers.
|
Modifier and Type | Method and Description |
---|---|
IgnoreDomainResourceTypeResource |
clone()
{@inheritDoc
|
org.jboss.dmr.ModelNode |
getModel()
{@inheritDoc
|
boolean |
isModelDefined()
{@inheritDoc
|
boolean |
isRuntime() |
void |
setWildcard(Boolean wildcard) |
void |
writeModel(org.jboss.dmr.ModelNode newModel)
{@inheritDoc
|
getName, getPathElement
getChild, getChildren, getChildrenNames, getChildTypes, getOrderedChildTypes, hasChild, hasChildren, isProxy, navigate, registerChild, registerChild, removeChild, requireChild
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChild, getChildren, getChildrenNames, getChildTypes, getOrderedChildTypes, hasChild, hasChildren, isProxy, navigate, registerChild, registerChild, removeChild, requireChild
public IgnoreDomainResourceTypeResource(String type, org.jboss.dmr.ModelNode names, Boolean wildcard)
type
- the name of the type some of whose resources are to be ignorednames
- the specific instances of type that should be ignored. Either ModelType.LIST
or ModelType.UNDEFINED
; cannot be null
wildcard
- true
if all resources of the type should be matched. Use null
to indicate
this is undefined by the user, meaning false
in practical effectpublic boolean isRuntime()
isRuntime
in interface Resource
isRuntime
in class PlaceholderResource
public org.jboss.dmr.ModelNode getModel()
getModel
in interface Resource
getModel
in class PlaceholderResource
public void writeModel(org.jboss.dmr.ModelNode newModel)
writeModel
in interface Resource
writeModel
in class PlaceholderResource
newModel
- the new modelpublic boolean isModelDefined()
isModelDefined
in interface Resource
isModelDefined
in class PlaceholderResource
true
if the local model is definedpublic IgnoreDomainResourceTypeResource clone()
clone
in interface Resource
clone
in class PlaceholderResource.PlaceholderResourceEntry
public void setWildcard(Boolean wildcard)
Copyright © 2023 JBoss by Red Hat. All rights reserved.