public enum PluginClass extends java.lang.Enum<PluginClass>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nodeTag |
Modifier and Type | Method and Description |
---|---|
static PluginClass |
searchByTag(java.lang.String nodeTag)
Searches all Plugin Classes and returns the one that matches given nodeTag.
|
static PluginClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginClass TestNG
public static final PluginClass Git
public static PluginClass[] values()
for (PluginClass c : PluginClass.values()) System.out.println(c);
public static PluginClass 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 static PluginClass searchByTag(java.lang.String nodeTag)
nodeTag
- Node tag whose Plugin Class needs to be found.