public class ManagedDMRContentTypeResource extends Object implements Resource.ResourceEntry
Resource implementation for the root resource of a tree of resources that store managed DMR content
(e.g. named rollout plans.)Resource.Factory, Resource.NoSuchResourceException, Resource.ResourceEntry, Resource.Tools| Constructor and Description |
|---|
ManagedDMRContentTypeResource(PathAddress address,
String childType,
byte[] initialHash,
ContentRepository contentRepository) |
ManagedDMRContentTypeResource(PathElement pathElement,
String childType,
byte[] initialHash,
ContentRepository contentRepository)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
Resource |
getChild(PathElement element) |
Set<Resource.ResourceEntry> |
getChildren(String childType) |
Set<String> |
getChildrenNames(String childType) |
Set<String> |
getChildTypes() |
org.jboss.dmr.ModelNode |
getModel() |
String |
getName() |
Set<String> |
getOrderedChildTypes() |
PathElement |
getPathElement() |
boolean |
hasChild(PathElement element) |
boolean |
hasChildren(String childType) |
boolean |
isModelDefined() |
boolean |
isProxy() |
boolean |
isRuntime() |
Resource |
navigate(PathAddress address) |
void |
registerChild(PathElement address,
int index,
Resource resource) |
void |
registerChild(PathElement address,
Resource resource) |
Resource |
removeChild(PathElement address) |
Resource |
requireChild(PathElement address) |
void |
writeModel(org.jboss.dmr.ModelNode newModel) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshallowCopy@Deprecated public ManagedDMRContentTypeResource(PathElement pathElement, String childType, byte[] initialHash, ContentRepository contentRepository)
public ManagedDMRContentTypeResource(PathAddress address, String childType, byte[] initialHash, ContentRepository contentRepository)
public void writeModel(org.jboss.dmr.ModelNode newModel)
writeModel in interface Resourcepublic boolean isModelDefined()
isModelDefined in interface Resourcepublic Resource getChild(PathElement element)
public Resource requireChild(PathElement address)
requireChild in interface Resourcepublic Resource navigate(PathAddress address)
public Set<String> getChildTypes()
getChildTypes in interface Resourcepublic Set<Resource.ResourceEntry> getChildren(String childType)
getChildren in interface Resourcepublic final boolean hasChildren(String childType)
hasChildren in interface Resourcepublic boolean hasChild(PathElement element)
public Set<String> getChildrenNames(String childType)
getChildrenNames in interface Resourcepublic void registerChild(PathElement address, Resource resource)
registerChild in interface Resourcepublic void registerChild(PathElement address, int index, Resource resource)
registerChild in interface Resourcepublic Resource removeChild(PathElement address)
removeChild in interface Resourcepublic Set<String> getOrderedChildTypes()
getOrderedChildTypes in interface Resourcepublic Resource clone()
public String getName()
getName in interface Resource.ResourceEntrypublic PathElement getPathElement()
getPathElement in interface Resource.ResourceEntryCopyright © 2018 JBoss by Red Hat. All rights reserved.