Enum DiscardSingletonListAttributeChecker
java.lang.Object
java.lang.Enum<DiscardSingletonListAttributeChecker>
org.jboss.as.clustering.controller.transform.DiscardSingletonListAttributeChecker
- All Implemented Interfaces:
Serializable,Comparable<DiscardSingletonListAttributeChecker>,org.jboss.as.controller.transform.description.DiscardAttributeChecker
public enum DiscardSingletonListAttributeChecker
extends Enum<DiscardSingletonListAttributeChecker>
implements org.jboss.as.controller.transform.description.DiscardAttributeChecker
Discards an attribute if its list value contains a single entry.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.transform.description.DiscardAttributeChecker
org.jboss.as.controller.transform.description.DiscardAttributeChecker.DefaultDiscardAttributeChecker, org.jboss.as.controller.transform.description.DiscardAttributeChecker.DiscardAttributeValueChecker -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface org.jboss.as.controller.transform.description.DiscardAttributeChecker
ALWAYS, DEFAULT_VALUE, UNDEFINED -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisOperationParameterDiscardable(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.transform.TransformationContext context) booleanisResourceAttributeDiscardable(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.as.controller.transform.TransformationContext context) Returns the enum constant of this type with the specified name.static DiscardSingletonListAttributeChecker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isDiscardExpressions
public boolean isDiscardExpressions()- Specified by:
isDiscardExpressionsin interfaceorg.jboss.as.controller.transform.description.DiscardAttributeChecker
-
isDiscardUndefined
public boolean isDiscardUndefined()- Specified by:
isDiscardUndefinedin interfaceorg.jboss.as.controller.transform.description.DiscardAttributeChecker
-
isOperationParameterDiscardable
public boolean isOperationParameterDiscardable(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.dmr.ModelNode operation, org.jboss.as.controller.transform.TransformationContext context) - Specified by:
isOperationParameterDiscardablein interfaceorg.jboss.as.controller.transform.description.DiscardAttributeChecker
-
isResourceAttributeDiscardable
public boolean isResourceAttributeDiscardable(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.as.controller.transform.TransformationContext context) - Specified by:
isResourceAttributeDiscardablein interfaceorg.jboss.as.controller.transform.description.DiscardAttributeChecker
-