public static enum LocksNotUnlockedCheck.LockConstraint extends Enum<LocksNotUnlockedCheck.LockConstraint> implements Constraint
Modifier and Type | Method and Description |
---|---|
String |
valueAsString() |
static LocksNotUnlockedCheck.LockConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocksNotUnlockedCheck.LockConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
copyOver, hasPreciseValue, inverse, isValidWith
public static final LocksNotUnlockedCheck.LockConstraint LOCKED
public static final LocksNotUnlockedCheck.LockConstraint UNLOCKED
public static LocksNotUnlockedCheck.LockConstraint[] values()
for (LocksNotUnlockedCheck.LockConstraint c : LocksNotUnlockedCheck.LockConstraint.values()) System.out.println(c);
public static LocksNotUnlockedCheck.LockConstraint 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 Constraint
Copyright © 2012–2017 SonarSource. All rights reserved.