Class SystemPropertyConfiguration
- java.lang.Object
-
- com.backpackcloud.zipper.impl.configuration.SystemPropertyConfiguration
-
- All Implemented Interfaces:
Configuration,Supplier<String>
public class SystemPropertyConfiguration extends Object implements Configuration
-
-
Field Summary
-
Fields inherited from interface com.backpackcloud.zipper.Configuration
NOT_SUPPLIED
-
-
Constructor Summary
Constructors Constructor Description SystemPropertyConfiguration(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget()Gets the value of this configuration.booleanisSet()Checks if this source has some configuration set.
-
-
-
Constructor Detail
-
SystemPropertyConfiguration
public SystemPropertyConfiguration(String key)
-
-
Method Detail
-
isSet
public boolean isSet()
Description copied from interface:ConfigurationChecks if this source has some configuration set.- Specified by:
isSetin interfaceConfiguration- Returns:
trueif this source holds any configuration value.
-
get
public String get()
Description copied from interface:ConfigurationGets the value of this configuration.- Specified by:
getin interfaceConfiguration- Specified by:
getin interfaceSupplier<String>- Returns:
- the configuration value.
-
-