T - the implementing type of the argument.O - the type of value this argument accepts.public abstract static class CLIConfigurator.Argument<T extends CLIConfigurator.Argument<T,O>,O> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
help |
protected String |
name |
protected boolean |
visible |
| Constructor and Description |
|---|
Argument() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(CLIConfigurator.ArgumentVisitor visitor) |
String |
getArgument() |
O |
getDefaultValue() |
String |
getHelp() |
String |
getKey() |
String |
getName() |
String |
getUnits() |
O |
getValue() |
Object |
getValueObject() |
boolean |
hasDefaultValue() |
boolean |
isInCLI() |
boolean |
isRequired() |
boolean |
isSet() |
boolean |
isVisible() |
void |
set(O value) |
abstract void |
setValueObject(Object val)
Sets the value of this argument via the specified object.
|
String |
toString() |
protected boolean visible
protected String name
protected String help
public String getArgument()
public boolean isRequired()
public String getUnits()
public O getDefaultValue()
public boolean hasDefaultValue()
public void set(O value)
public O getValue()
public boolean isSet()
public Object getValueObject()
public abstract void setValueObject(Object val)
val - the object to set the value fromTrackMateSettingsBuilderpublic boolean isInCLI()
public boolean isVisible()
public String getName()
public String getHelp()
public String getKey()
public abstract void accept(CLIConfigurator.ArgumentVisitor visitor)
Copyright © 2010–2024 TrackMate. All rights reserved.