[closed] Run method not triggering for delivery operation
Girish Jangame (11●1●8)
| asked May 30 '17, 9:25 a.m.
closed May 30 '17, 10:12 a.m. by Ralph Schoon (63.6k●3●36●47)
Hi,
I was trying to run delivery operation plugin using operation participant and operation id is
"com.ibm.team.scm.server.deliver" .
But it's not triggering run method while debugging the code.
please check below implementation
<style>
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0cm; margin-right:0cm; margin-bottom:8.0pt; margin-left:0cm; line-height:107%; font-size:11.0pt; font-family:"Calibri",sans-serif;} .MsoChpDefault {font-family:"Calibri",sans-serif;} .MsoPapDefault {margin-bottom:8.0pt; line-height:107%;} /* Page Definitions */ @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->
</style>
public class ImplClass extends AbstractScmService implements IOperationParticipant {
public void run(AdvisableOperation operation,
IProcessConfigurationElement participantConfig,
IParticipantInfoCollector collector, IProgressMonitor monitor)
throws TeamRepositoryException {
System.out.println("In run method");
Object operationData = operation.getOperationData();
if (!(operationData instanceof DeliverOperationData)) {
return;
}
DeliverOperationData data = (DeliverOperationData) operationData;
}
please provide some valuable suggestions.
Thanks,
Girish
|