Transport. used
to establish the connection. Each connector has a set of arguments
which controls its operation. The arguments are stored as a
map, keyed by a string. Each implementation defines the string
argument keys it accepts.
LaunchingConnector, AttachingConnector, ListeningConnector, Connector.Argument
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Connector.
Specification for and value of a Connector argument. |
| public static interface | Connector.
Specification for and value of a Connector argument, whose value is Boolean. |
| public static interface | Connector.
Specification for and value of a Connector argument, whose value is an integer. |
| public static interface | Connector.
Specification for and value of a Connector argument, whose value is a String selected from a list of choices. |
| public static interface | Connector.
Specification for and value of a Connector argument, whose value is a String. |
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: the map associating argument names with argument information and default value.Returns the arguments accepted by this Connector and their default values. |
| public String | Returns: the description of this connectorReturns a human-readable description of this connector and its purpose. |
| public String | |
| public Transport |
| defaultArguments | back to summary |
|---|---|
| public Map Returns the arguments accepted by this Connector and their
default values. The keys of the returned map are string argument
names. The values are | |
| description | back to summary |
|---|---|
| public String description() Returns a human-readable description of this connector and its purpose.
| |
| name | back to summary |
|---|---|
| public String name() Returns a short identifier for the connector. Connector implementors should follow similar naming conventions as are used with packages to avoid name collisions. For example, the Sun connector implementations have names prefixed with "com.sun.jdi.". Not intended for exposure to end-user.
| |
| transport | back to summary |
|---|---|
| public Transport transport() Returns the transport mechanism used by this connector to establish connections with a target VM. | |
Connector.StringArgument , Connector.BooleanArgument ,
Connector.IntegerArgument ,
or Connector.SelectedArgument .
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the description of this argumentReturns a human-readable description of this argument and its purpose. |
| public boolean | |
| public String | |
| public boolean | Returns: true if the argument must be specified;
false otherwise.Indicates whether the argument must be specified. |
| public String | |
| public void | |
| public String |
| description | back to summary |
|---|---|
| public String description() Returns a human-readable description of this argument and its purpose.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid(String value) Performs basic sanity check of argument.
| |
| label | back to summary |
|---|---|
| public String label() Returns a short human-readable label for this argument.
| |
| mustSpecify | back to summary |
|---|---|
| public boolean mustSpecify() Indicates whether the argument must be specified. If true,
| |
| name | back to summary |
|---|---|
| public String name() Returns a short, unique identifier for the argument. Not intended for exposure to end-user.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Sets the value of the argument.
The value should be checked with | |
| value | back to summary |
|---|---|
| public String value() Returns the current value of the argument. Initially, the default value is returned. If the value is currently unspecified, null is returned.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: the value of the argument as a boolean.Return the value of the argument as a boolean. |
| public boolean | Returns: true if value is a string
representation of a boolean value.Redeclares com. Performs basic sanity check of argument. |
| public void | |
| public String | Returns: the localized String representation of the boolean value.Return the string representation of the |
| booleanValue | back to summary |
|---|---|
| public boolean booleanValue() Return the value of the argument as a boolean. Since
the argument may not have been set or may have an invalid
value
| |
| isValid | back to summary |
|---|---|
| public boolean isValid(String value) Redeclares com. Performs basic sanity check of argument.
| |
| setValue | back to summary |
|---|---|
| public void setValue(boolean value) Sets the value of the argument. | |
| stringValueOf | back to summary |
|---|---|
| public String stringValueOf(boolean value) Return the string representation of the
| |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | isValid(String value)
Redeclares com. Performs basic sanity check of argument. |
| public boolean | |
| public int | |
| public int | |
| public void | |
| public String | Returns: the String representation of the int value.Return the string representation of the |
| intValue | back to summary |
|---|---|
| public int intValue() Return the value of the argument as a int. Since
the argument may not have been set or may have an invalid
value
| |
| isValid | back to summary |
|---|---|
| public boolean isValid(String value) Redeclares com. Performs basic sanity check of argument. | |
| isValid | back to summary |
|---|---|
| public boolean isValid(int value) Performs basic sanity check of argument. | |
| max | back to summary |
|---|---|
| public int max() The upper bound for the value.
| |
| min | back to summary |
|---|---|
| public int min() The lower bound for the value.
| |
| setValue | back to summary |
|---|---|
| public void setValue(int value) Sets the value of the argument.
The value should be checked with | |
| stringValueOf | back to summary |
|---|---|
| public String stringValueOf(int value) Return the string representation of the
| |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public boolean | isValid(String value)
Redeclares com. Performs basic sanity check of argument. |
| choices | back to summary |
|---|---|
| public List Return the possible values for the argument | |
| isValid | back to summary |
|---|---|
| public boolean isValid(String value) Redeclares com. Performs basic sanity check of argument.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true alwaysRedeclares com. Performs basic sanity check of argument. |
| isValid | back to summary |
|---|---|
| public boolean isValid(String value) Redeclares com. Performs basic sanity check of argument.
| |