@Beta public class DeviceInjectionConfig extends BaseConfig<DeviceId>
Config.FieldPresence| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONFIG_KEY
Configuration key for  
DeviceInjectionConfig. | 
| Constructor and Description | 
|---|
DeviceInjectionConfig()
Create a  
DeviceInjectionConfig. | 
DeviceInjectionConfig(DeviceId did)
Create a  
DeviceInjectionConfig for specified Device. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isValid()
Indicates whether or not the backing JSON node contains valid data. 
 | 
String | 
ports()  | 
String | 
toString()  | 
codec, decode, getService, mapperapply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecode, encodepublic static final String CONFIG_KEY
DeviceInjectionConfig.public DeviceInjectionConfig()
DeviceInjectionConfig.
 Note: created instance needs to be initialized by #init(..) before using.
public DeviceInjectionConfig(DeviceId did)
DeviceInjectionConfig for specified Device.
 
 Note: created instance is not bound to NetworkConfigService,
 cannot use Config.apply(). Must be passed to the service
 using NetworkConfigService#applyConfig
did - DeviceIdpublic boolean isValid()
ConfigDefault implementation returns true. Subclasses are expected to override this with their own validation. Implementations are free to throw a RuntimeException if data is invalid.
public String ports()