- 
- All Superinterfaces:
- Serializable
 - All Known Subinterfaces:
- Connector.BooleanArgument,- Connector.IntegerArgument,- Connector.SelectedArgument,- Connector.StringArgument
 - Enclosing interface:
- Connector
 
 public static interface Connector.Argument extends Serializable Specification for and value of a Connector argument. Will always implement a subinterface of Argument:Connector.StringArgument,Connector.BooleanArgument,Connector.IntegerArgument, orConnector.SelectedArgument.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringdescription()Returns a human-readable description of this argument and its purpose.booleanisValid(String value)Performs basic sanity check of argument.Stringlabel()Returns a short human-readable label for this argument.booleanmustSpecify()Indicates whether the argument must be specified.Stringname()Returns a short, unique identifier for the argument.voidsetValue(String value)Sets the value of the argument.Stringvalue()Returns the current value of the argument.
 
- 
- 
- 
Method Detail- 
nameString name() Returns a short, unique identifier for the argument. Not intended for exposure to end-user.- Returns:
- the name of this argument.
 
 - 
labelString label() Returns a short human-readable label for this argument.- Returns:
- a label for this argument
 
 - 
descriptionString description() Returns a human-readable description of this argument and its purpose.- Returns:
- the description of this argument
 
 - 
valueString value() Returns the current value of the argument. Initially, the default value is returned. If the value is currently unspecified, null is returned.- Returns:
- the current value of the argument.
 
 - 
setValuevoid setValue(String value) Sets the value of the argument. The value should be checked withisValid(String)before setting it; invalid values will throw an exception when the connection is established - for example, onLaunchingConnector.launch(java.util.Map<java.lang.String, ? extends com.sun.jdi.connect.Connector.Argument>)
 - 
isValidboolean isValid(String value) Performs basic sanity check of argument.- Returns:
- trueif the value is valid to be used in- setValue(String)
 
 - 
mustSpecifyboolean mustSpecify() Indicates whether the argument must be specified. If true,setValue(java.lang.String)must be used to set a non-null value before using this argument in establishing a connection.- Returns:
- trueif the argument must be specified;- falseotherwise.
 
 
- 
 
-