Class OrderedChildTypesAttachment
- java.lang.Object
-
- org.jboss.as.controller.operations.common.OrderedChildTypesAttachment
-
public class OrderedChildTypesAttachment extends Object
We currently only care about ordered child resources when describing the model for the use of the sync handlers. We don't care about all that when describing the model for the server boot operations. This attachment is used to collect the information if present.- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static OperationContext.AttachmentKey<OrderedChildTypesAttachment>
KEY
-
Constructor Summary
Constructors Constructor Description OrderedChildTypesAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOrderedChildResourceTypes(PathAddress resourceAddress, Resource resource)
If the resource has ordered child types, those child types will be stored in the attachment.Set<String>
getOrderedChildTypes(PathAddress resourceAddress)
-
-
-
Field Detail
-
KEY
public static final OperationContext.AttachmentKey<OrderedChildTypesAttachment> KEY
-
-
Method Detail
-
addOrderedChildResourceTypes
public void addOrderedChildResourceTypes(PathAddress resourceAddress, Resource resource)
If the resource has ordered child types, those child types will be stored in the attachment. If there are no ordered child types, this method is a no-op.- Parameters:
resourceAddress
- the address of the resourceresource
- the resource which may or may not have ordered children.
-
getOrderedChildTypes
public Set<String> getOrderedChildTypes(PathAddress resourceAddress)
-
-