Modifier and Type | Method and Description |
---|---|
static Rule.Mode |
getEnum(java.lang.String str) |
java.lang.String |
toString() |
static Rule.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Mode MATCH
public static final Rule.Mode FILTER
public static Rule.Mode[] values()
for (Rule.Mode c : Rule.Mode.values()) System.out.println(c);
public static Rule.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Rule.Mode>
public static Rule.Mode getEnum(java.lang.String str)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.