Serializable
Connector.BooleanArgument
, Connector.IntegerArgument
, Connector.SelectedArgument
, Connector.StringArgument
public static interface Connector.Argument extends Serializable
Connector.StringArgument
, Connector.BooleanArgument
,
Connector.IntegerArgument
,
or Connector.SelectedArgument
.Modifier and Type | Method | Description |
---|---|---|
String |
description() |
Returns a human-readable description of this argument
and its purpose.
|
boolean |
isValid(String value) |
Performs basic sanity check of argument.
|
String |
label() |
Returns a short human-readable label for this argument.
|
boolean |
mustSpecify() |
Indicates whether the argument must be specified.
|
String |
name() |
Returns a short, unique identifier for the argument.
|
void |
setValue(String value) |
Sets the value of the argument.
|
String |
value() |
Returns the current value of the argument.
|
String name()
String label()
String description()
String value()
void setValue(String value)
isValid(String)
before setting it; invalid values will throw an exception
when the connection is established - for example,
on LaunchingConnector.launch(java.util.Map<java.lang.String, ? extends com.sun.jdi.connect.Connector.Argument>)
boolean isValid(String value)
true
if the value is valid to be
used in setValue(String)
boolean mustSpecify()
setValue(java.lang.String)
must be used to set a non-null value before
using this argument in establishing a connection.true
if the argument must be specified;
false
otherwise. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b149-1