It's all about the answers!

Ask a question

[closed] Run method not triggering for delivery operation


Girish Jangame (1112) | asked May 30 '17, 9:25 a.m.
closed May 30 '17, 10:12 a.m. by Ralph Schoon (56.6k23642)
 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> &lt;!-- /* Font Definitions */ @font-face {font-family:&quot;Cambria Math&quot;; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:&quot;Segoe UI&quot;; 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:&quot;Calibri&quot;,sans-serif;} .MsoChpDefault {font-family:&quot;Calibri&quot;,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;} --&gt; </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

The question has been closed for the following reason: "Duplicate Question" by rschoon May 30 '17, 10:12 a.m.