Enum RejectNonSingletonListAttributeChecker
- java.lang.Object
-
- java.lang.Enum<RejectNonSingletonListAttributeChecker>
-
- org.jboss.as.clustering.controller.transform.RejectNonSingletonListAttributeChecker
-
- All Implemented Interfaces:
Serializable,Comparable<RejectNonSingletonListAttributeChecker>,org.jboss.as.controller.transform.description.RejectAttributeChecker
public enum RejectNonSingletonListAttributeChecker extends Enum<RejectNonSingletonListAttributeChecker> implements org.jboss.as.controller.transform.description.RejectAttributeChecker
Rejects a list attribute if it contains more than one element.- Author:
- Paul Ferraro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.transform.description.RejectAttributeChecker
org.jboss.as.controller.transform.description.RejectAttributeChecker.DefaultRejectAttributeChecker, org.jboss.as.controller.transform.description.RejectAttributeChecker.ListRejectAttributeChecker, org.jboss.as.controller.transform.description.RejectAttributeChecker.ObjectFieldsRejectAttributeChecker, org.jboss.as.controller.transform.description.RejectAttributeChecker.SimpleAcceptAttributeChecker, org.jboss.as.controller.transform.description.RejectAttributeChecker.SimpleRejectAttributeChecker
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRejectionLogMessage(Map<String,org.jboss.dmr.ModelNode> attributes)StringgetRejectionLogMessageId()booleanrejectOperationParameter(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)booleanrejectResourceAttribute(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.as.controller.transform.TransformationContext context)static RejectNonSingletonListAttributeCheckervalueOf(String name)Returns the enum constant of this type with the specified name.static RejectNonSingletonListAttributeChecker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final RejectNonSingletonListAttributeChecker INSTANCE
-
-
Method Detail
-
values
public static RejectNonSingletonListAttributeChecker[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RejectNonSingletonListAttributeChecker c : RejectNonSingletonListAttributeChecker.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RejectNonSingletonListAttributeChecker valueOf(String name)
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
-
rejectOperationParameter
public boolean rejectOperationParameter(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:
rejectOperationParameterin interfaceorg.jboss.as.controller.transform.description.RejectAttributeChecker
-
rejectResourceAttribute
public boolean rejectResourceAttribute(org.jboss.as.controller.PathAddress address, String attributeName, org.jboss.dmr.ModelNode attributeValue, org.jboss.as.controller.transform.TransformationContext context)- Specified by:
rejectResourceAttributein interfaceorg.jboss.as.controller.transform.description.RejectAttributeChecker
-
getRejectionLogMessageId
public String getRejectionLogMessageId()
- Specified by:
getRejectionLogMessageIdin interfaceorg.jboss.as.controller.transform.description.RejectAttributeChecker
-
-