@ProviderType
public interface ProgramNodeConfiguration
Modifier and Type | Method and Description |
---|---|
<T extends DeviceRegistrationManager> |
getDeviceRegistrationManager(Class<T> registrationManagerClass)
This method can be used to obtain an interface for registering this program node contribution/service as conformant
with a specific device type supported by PolyScope.
|
ProgramDebuggingSupport |
getProgramDebuggingSupport()
Configure PolyScope program debugging support for this URCap program node and all child nodes in its
sub-tree.
|
void |
setDisplayOrderId(double displayOrderId)
Set the display order id for this type of program node contribution.
|
void setDisplayOrderId(double displayOrderId)
All program node contributions from a URCap will be grouped together and sorted (in ascending order) according to their display order id.
The default value is 0.0. If the display order id for all program node contributions in a URCap have the default value, the standard built-in sorting in PolyScope will be used.
displayOrderId
- Determines the display order of the URCap program node type.ProgramDebuggingSupport getProgramDebuggingSupport()
Configure PolyScope program debugging support for this URCap program node and all child nodes in its sub-tree.
Note: The configuration values of theProgramDebuggingSupport
instance will be read once immediately
after the call to the ProgramNodeServiceConfigurable.configureContribution(ProgramNodeConfiguration)
method
has ended. Changing values at a later stage will have no effect, so do not store a reference to the
ProgramDebuggingSupport
object.<T extends DeviceRegistrationManager> T getDeviceRegistrationManager(Class<T> registrationManagerClass)
T
- the type of the device registration managerregistrationManagerClass
- the class of the device registration manager to return, not null
.Copyright © 2021. All rights reserved.