Enum RejectAttributeValueChecker
- java.lang.Object
-
- java.lang.Enum<RejectAttributeValueChecker>
-
- org.jboss.as.clustering.controller.transform.RejectAttributeValueChecker
-
- All Implemented Interfaces:
Serializable,Comparable<RejectAttributeValueChecker>,org.jboss.as.controller.transform.description.RejectAttributeChecker
public enum RejectAttributeValueChecker extends Enum<RejectAttributeValueChecker> implements org.jboss.as.controller.transform.description.RejectAttributeChecker
- 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 RejectAttributeValueCheckervalueOf(String name)Returns the enum constant of this type with the specified name.static RejectAttributeValueChecker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEGATIVE
public static final RejectAttributeValueChecker NEGATIVE
-
ZERO
public static final RejectAttributeValueChecker ZERO
-
-
Method Detail
-
values
public static RejectAttributeValueChecker[] 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 (RejectAttributeValueChecker c : RejectAttributeValueChecker.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RejectAttributeValueChecker 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
-
-