RTC follow-up action plugin development
Follow-up actions are events that are generated when the operation is completed.
A Participant is basically operational behavior that happens after a certain operation completed.
Extension point = com.ibm.team.process.service.operationParticipants
Implement the interface com.ibm.team.process.common.advice.runtime.IOperationParticipant
You have to create two plugin project
1. Component
2. Service
Link for Component
Service Development
Create a new Plug-in Development->Plug-in Project
Fill out the second dialog as follows, and select Next.
Fill out the second dialog as follows, and select Finish.
Open MANIFEST.MF or Plugin.xml file for your project
From the Overview tab select This plug-in is a singleton. Save this file.
From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.workitem.common
com.ibm.team.repository.common
these are the few dependencies, for others functionality you may have to add others dependencies.
Like for
SCM you have to add
* scm.common and * scm.service
repository.common and repository.service
Search for available .service and .common and add it
GO to Extensions Tab
Search for operationParticipants
Select com.ibm.team.process.service.operationParticipants
Under the Extension Element Details section. The
List of operation Id
Or you can get operation id from process template
Download Template
More Info From IBM
Other Example
A Participant is basically operational behavior that happens after a certain operation completed.
Extension point = com.ibm.team.process.service.operationParticipants
Implement the interface com.ibm.team.process.common.advice.runtime.IOperationParticipant
You have to create two plugin project
1. Component
2. Service
Link for Component
Service Development
Create Plug-in
Open IDE(Eclipse)Create a new Plug-in Development->Plug-in Project
Fill out the second dialog as follows, and select Next.
Fill out the second dialog as follows, and select Finish.
Open MANIFEST.MF or Plugin.xml file for your project
From the Overview tab select This plug-in is a singleton. Save this file.
From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.workitem.common
com.ibm.team.repository.common
these are the few dependencies, for others functionality you may have to add others dependencies.
Like for
SCM you have to add
* scm.common and * scm.service
repository.common and repository.service
Search for available .service and .common and add it
Adding Extensions
Open MANIFEST.MF or Plugin.xml file for your projectGO to Extensions Tab
Search for operationParticipants
Select com.ibm.team.process.service.operationParticipants
Under the Extension Element Details section. The
operationId
entry indicates which RTC operation we intend this plug-in to augment. When finished, save the file. List of operation Id
Or you can get operation id from process template
Field
|
Value
|
---|---|
id
|
com.test.rtc.ext.id
|
name
|
Any Name
|
operationId
|
com.ibm.team.workitem.operation.workItemSave
|
Download Template
More Info From IBM
Other Example
Comments
Post a Comment