Interface LifecycleDiagramConfigProvider
public interface LifecycleDiagramConfigProvider
This interface defines a service that is used in InfoPageStateDataUtility
to configure the URL for the state link.
Supported API: true
Extendable: false
Project teams should implement this interface and register their implementation in the project's *.service.propeties.xconf file.
Register the service for the base LifeCycleManaged with the class name as the requestor. To register the service to show a link for a WorkItem, use the WorkItem class name is the requestor and the LifeCycleManaged class name as the selector.
In the example below the same LifecycleDiagramConfigProvider is used for both the CAPAChangeRequest and WorkItems where the primaryBussinesOjbect is a CAPAChangeRequest.
<Service context="default" name="com.ptc.core.components.factory.dataUtilities.LifecycleDiagramConfigProvider">
<Option
cardinality="singleton"
requestor="com.ptc.qualitymanagement.capa.request.CAPAChangeRequest"
serviceClass="com.ptc.qualitymanagement.capa.datautilities.CAPALifecycleDiagramConfigProvider"
/>
<Option
cardinality="singleton"
requestor="wt.workflow.work.WorkItem"
selector="com.ptc.qualitymanagement.capa.request.CAPAChangeRequest"
serviceClass="com.ptc.qualitymanagement.capa.datautilities.CAPALifecycleDiagramConfigProvider"
/>
</Service>
Supported API: true
Extendable: false