public class AgentArguments extends Object
The agent arguments are a comma-separated sequence of
This class organizes the agent arguments into named and anonymous values.[keyword=]quoted-or-unquoted-string.
The "keyword=" part is optional. A given keyword can
appear multiple times, so after analysis each keyword can map
to potentially multiple values (as a List
| Constructor and Description |
|---|
AgentArguments() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
namedValues(String keyword)
Returns the list of values associated with the specified keyword.
|
static AgentArguments |
newInstance(String args) |
List<String> |
unnamedValues()
Returns the unnamed values as a list of strings.
|
public static AgentArguments newInstance(String args)
public List<String> namedValues(String keyword)
keyword - the keyword whose values are neededCopyright © 2019. All rights reserved.