public class FailedOperationTransformationConfig extends Object
ModelTestUtils#checkFailedTransformedAddOperation(ModelTestKernelServices, org.jboss.as.controller.ModelVersion, ModelNode, FailedOperationTransformationConfig)| Modifier and Type | Class and Description |
|---|---|
static class |
FailedOperationTransformationConfig.AttributesPathAddressConfig<T extends FailedOperationTransformationConfig.AttributesPathAddressConfig<T>> |
static interface |
FailedOperationTransformationConfig.BeforeExecuteCompositeCallback
A callback that can be used to e.g.
|
static class |
FailedOperationTransformationConfig.ChainedConfig
A standard configuration that allows several checkers to be used for an attribute.
|
static class |
FailedOperationTransformationConfig.NewAttributesConfig
A standard configuration for the
DiscardUndefinedAttributesTransformer
for use with attributes that are new in a version. |
static interface |
FailedOperationTransformationConfig.PathAddressConfig
Configuration of how to deal with rejected operations transformations for a PathAddress.
|
static class |
FailedOperationTransformationConfig.RejectExpressionsConfig
A standard configuration for the reject expression values transformer
|
| Modifier and Type | Field and Description |
|---|---|
static FailedOperationTransformationConfig.PathAddressConfig |
DISCARDED_RESOURCE |
static FailedOperationTransformationConfig |
NO_FAILURES |
static FailedOperationTransformationConfig.PathAddressConfig |
REJECTED_RESOURCE |
| Constructor and Description |
|---|
FailedOperationTransformationConfig() |
| Modifier and Type | Method and Description |
|---|---|
FailedOperationTransformationConfig |
addFailedAttribute(PathAddress pathAddress,
FailedOperationTransformationConfig.PathAddressConfig config)
Add a handler for failed operation transformers at a resource address
|
void |
operationDone(org.jboss.dmr.ModelNode operation) |
FailedOperationTransformationConfig |
setCallback(FailedOperationTransformationConfig.BeforeExecuteCompositeCallback callback)
Sets a callback that gets executed before transforming and executing the resulting composite.
|
FailedOperationTransformationConfig |
setDontTransformComposite()
THe default behaviour is to add the original operations to a composite, once they have been 'fixed'.
|
public static final FailedOperationTransformationConfig NO_FAILURES
public static final FailedOperationTransformationConfig.PathAddressConfig DISCARDED_RESOURCE
public static final FailedOperationTransformationConfig.PathAddressConfig REJECTED_RESOURCE
public FailedOperationTransformationConfig addFailedAttribute(PathAddress pathAddress, FailedOperationTransformationConfig.PathAddressConfig config)
pathAddress - the path addressconfig - the configpublic FailedOperationTransformationConfig setDontTransformComposite()
config that changes the model. For these cases, we can call this method, which instead
adds the transformed and fully 'fixed' operations to the resulting composite.public FailedOperationTransformationConfig setCallback(FailedOperationTransformationConfig.BeforeExecuteCompositeCallback callback)
callback - the callbackpublic void operationDone(org.jboss.dmr.ModelNode operation)
Copyright © 2018 JBoss by Red Hat. All rights reserved.