Serializable, Comparable<UnclosedResourcesCheck.ResourceConstraint>, Constraintpublic static enum UnclosedResourcesCheck.ResourceConstraint extends Enum<UnclosedResourcesCheck.ResourceConstraint> implements Constraint
| Modifier and Type | Method | Description |
|---|---|---|
String |
valueAsString() |
|
static UnclosedResourcesCheck.ResourceConstraint |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static UnclosedResourcesCheck.ResourceConstraint[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
copyOver, hasPreciseValue, inverse, isValidWithpublic static final UnclosedResourcesCheck.ResourceConstraint OPEN
public static final UnclosedResourcesCheck.ResourceConstraint CLOSED
public static UnclosedResourcesCheck.ResourceConstraint[] values()
for (UnclosedResourcesCheck.ResourceConstraint c : UnclosedResourcesCheck.ResourceConstraint.values()) System.out.println(c);
public static UnclosedResourcesCheck.ResourceConstraint valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String valueAsString()
valueAsString in interface ConstraintCopyright © 2012–2018 SonarSource. All rights reserved.