public class ManagedDMRContentResource extends Object implements Resource.ResourceEntry
Resource implementation for a resource that stores managed DMR content (e.g. named rollout plans.)Resource.Factory, Resource.NoSuchResourceException, Resource.ResourceEntry, Resource.Tools| Constructor and Description |
|---|
ManagedDMRContentResource(PathElement pathElement) |
ManagedDMRContentResource(PathElement pathElement,
ManagedDMRContentTypeResource parent) |
| 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 element) |
void |
writeModel(org.jboss.dmr.ModelNode newModel) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshallowCopypublic ManagedDMRContentResource(PathElement pathElement)
public ManagedDMRContentResource(PathElement pathElement, ManagedDMRContentTypeResource parent)
public void writeModel(org.jboss.dmr.ModelNode newModel)
writeModel in interface Resourcepublic boolean isModelDefined()
isModelDefined in interface Resourcepublic boolean hasChild(PathElement element)
public Resource getChild(PathElement element)
public Resource requireChild(PathElement element)
requireChild in interface Resourcepublic boolean hasChildren(String childType)
hasChildren in interface Resourcepublic Resource navigate(PathAddress address)
public Set<String> getChildTypes()
getChildTypes in interface Resourcepublic Set<String> getChildrenNames(String childType)
getChildrenNames in interface Resourcepublic Set<Resource.ResourceEntry> getChildren(String childType)
getChildren 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 Resource clone()
public String getName()
getName in interface Resource.ResourceEntrypublic PathElement getPathElement()
getPathElement in interface Resource.ResourceEntrypublic Set<String> getOrderedChildTypes()
getOrderedChildTypes in interface ResourceCopyright © 2018 JBoss by Red Hat. All rights reserved.