org.eclipse.mylar.internal.monitor.reports
Class ReportGenerator.GenerateStatisticsJob

java.lang.Object
  extended by org.eclipse.mylar.internal.monitor.reports.ReportGenerator.GenerateStatisticsJob
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress
Enclosing class:
ReportGenerator

 class ReportGenerator.GenerateStatisticsJob
extends java.lang.Object
implements org.eclipse.jface.operation.IRunnableWithProgress


Field Summary
private  ReportGenerator generator
           
private static java.lang.String JOB_LABEL
           
private  java.util.List<java.io.File> sources
           
 
Constructor Summary
ReportGenerator.GenerateStatisticsJob(ReportGenerator generator, java.util.List<java.io.File> sources)
           
 
Method Summary
private  void createUsageTableData(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,InteractionEventSummary>> summaryMap, org.eclipse.mylar.context.core.InteractionEvent event, int userId)
           
 java.lang.String getIdentifier(org.eclipse.mylar.context.core.InteractionEvent event)
           
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_LABEL

private static final java.lang.String JOB_LABEL
See Also:
Constant Field Values

generator

private final ReportGenerator generator

sources

private java.util.List<java.io.File> sources
Constructor Detail

ReportGenerator.GenerateStatisticsJob

public ReportGenerator.GenerateStatisticsJob(ReportGenerator generator,
                                             java.util.List<java.io.File> sources)
Method Detail

run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws java.lang.reflect.InvocationTargetException,
                java.lang.InterruptedException
Specified by:
run in interface org.eclipse.jface.operation.IRunnableWithProgress
Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

createUsageTableData

private void createUsageTableData(java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,InteractionEventSummary>> summaryMap,
                                  org.eclipse.mylar.context.core.InteractionEvent event,
                                  int userId)

getIdentifier

public java.lang.String getIdentifier(org.eclipse.mylar.context.core.InteractionEvent event)