public class SystemPropertyOption extends Object implements ValueOption<String>
| Constructor and Description |
|---|
SystemPropertyOption(String key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKey()
Getter.
|
String |
getValue()
Getter.
|
int |
hashCode() |
String |
toString() |
SystemPropertyOption |
value(String _value)
Sets the system property value.
|
public SystemPropertyOption(String key)
key - system property key (cannot be null or empty)IllegalArgumentException - - If key is null or emptypublic SystemPropertyOption value(String _value)
_value - system property value (cannot be null, can be empty)IllegalArgumentException - - If value is nullpublic String getKey()
public String getValue()
getValue in interface ValueOption<String>Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.