public interface DeviceCapability
CPU, Java Platform, supported OSGi Specification Version,
etc. Capabilities can be used for executing conditional management operations and for determining
suitable for installing bundle editions.
The capability could be automatically determined by the mPRM Backend or mPRM Management Agent
or can be manually assigned by the system administrator. Automatically assigned are read only, i.e.
their values cannot be changed or deleted manually.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the capability.
|
java.lang.String |
getValue()
Returns the value of the capability.
|
boolean |
isReadOnly()
Returns if this property can be manually modified.
|
void |
remove()
Deletes this capability from the capabilities set of the device.
|
void |
setValue(java.lang.String newValue)
Changes the value of the capability with the supplied one.
|
java.lang.String getName()
java.lang.String getValue()
boolean isReadOnly()
true if the capability is read only.void setValue(java.lang.String newValue)
throws ManagementException
DeviceCapabilities.update() method
is invoked.newValue - the value of the capability which will replace the old one.ManagementException - if the capability is read-only.void remove()
throws ManagementException
DeviceCapabilities.update() method
is invoked.ManagementException - if the capability is read-only.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.