@ProviderType
public interface DriverDescriptorService
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<DriverDescriptor> |
getDriverDescriptor(java.lang.String driverPid)
Returns the
DriverDescriptor corresponding to the Driver instance
identified by the provided Driver kura.service.pid. |
java.util.List<DriverDescriptor> |
listDriverDescriptors()
Returns a list of
DriverDescriptor objects that correspond to the
entire list of Driver Instances in the Framework. |
java.util.Optional<DriverDescriptor> getDriverDescriptor(java.lang.String driverPid)
DriverDescriptor corresponding to the Driver instance
identified by the provided Driver kura.service.pid.driverPid - the Driver kura.service.pid that identifies a Driver
InstanceDriverDescriptor corresponding to the provided method
argument. Or an empty Optional is the provided argument is not a Driver kura.service.pidjava.lang.NullPointerException - if the provided driver PID is nulljava.util.List<DriverDescriptor> listDriverDescriptors()
DriverDescriptor objects that correspond to the
entire list of Driver Instances in the Framework.DriverDescriptor