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