public static enum ParsingRule.RuleType extends Enum<ParsingRule.RuleType>
Enum Constant and Description |
---|
COMMAND_LINE
The rule will specify a sub-string to find in the command line.
|
IP
The rule will specify a valid IPv4 address ("x.x.x.x").
|
NAME
The rule will specify the name of the process.
|
OWNER
The rule will specify the user name of the user that ran the process.
|
PORT
The rule will specify a port number or name.
|
Modifier and Type | Method and Description |
---|---|
static ParsingRule.RuleType |
getFromName(String str) |
String |
getName() |
String |
toString() |
static ParsingRule.RuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParsingRule.RuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParsingRule.RuleType PORT
public static final ParsingRule.RuleType IP
public static final ParsingRule.RuleType COMMAND_LINE
public static final ParsingRule.RuleType NAME
public static final ParsingRule.RuleType OWNER
public static ParsingRule.RuleType[] values()
for (ParsingRule.RuleType c : ParsingRule.RuleType.values()) System.out.println(c);
public static ParsingRule.RuleType 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 getName()
public String toString()
toString
in class Enum<ParsingRule.RuleType>
public static ParsingRule.RuleType getFromName(String str)
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.