public class OperationDefinitionHelper extends Object
| Constructor and Description |
|---|
OperationDefinitionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.as.controller.AttributeDefinition |
createNonEmptyStringAttribute(String attributeName) |
static String |
resolveFilter(org.jboss.as.controller.OperationContext context,
org.jboss.dmr.ModelNode operation) |
static org.jboss.as.controller.SimpleOperationDefinitionBuilder |
runtimeOnlyOperation(String operationName,
org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
Create a
SimpleOperationDefinitionBuilder for the given operationName and flag it as
runtime only. |
static org.jboss.as.controller.SimpleOperationDefinitionBuilder |
runtimeReadOnlyOperation(String operationName,
org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
Create a
SimpleOperationDefinitionBuilder for the given operationName and flag it as
read only and runtime only. |
public static org.jboss.as.controller.AttributeDefinition createNonEmptyStringAttribute(String attributeName)
public static org.jboss.as.controller.SimpleOperationDefinitionBuilder runtimeReadOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
SimpleOperationDefinitionBuilder for the given operationName and flag it as
read only and runtime only.public static org.jboss.as.controller.SimpleOperationDefinitionBuilder runtimeOnlyOperation(String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver)
SimpleOperationDefinitionBuilder for the given operationName and flag it as
runtime only.public static String resolveFilter(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.