org.processmining.importing
Interface LogReaderConnection

All Known Implementing Classes:
BPEL4WSResult, BPELResult, EPCResult, HeuristicsNetResultWithLogReader, OrgMiningResult, PDMPetriNetResult, PDMResult, PetriNetResult, ProtosResult, YAWLResult

public interface LogReaderConnection

Allows a LogReader to be connected to other objects, like a particular MiningResult.

This is used by import plugins to associate a LogReader with an imported file.

Version:
1.0
Author:
Peter van den Brand, Boudewijn van Dongen

Method Summary
 void connectWith(LogReader newLog, java.util.HashMap eventsMapping)
          Connects a LogReader to the object.
 java.util.ArrayList getConnectableObjects()
          Returns all connectable objects of the underlying model.
 

Method Detail

getConnectableObjects

java.util.ArrayList getConnectableObjects()
Returns all connectable objects of the underlying model.

Returns:
all connectable objects of the underlying model

connectWith

void connectWith(LogReader newLog,
                 java.util.HashMap eventsMapping)
Connects a LogReader to the object. The eventsMapping variable is a HashMap that has a key for every Object returned by the getConnectableObjects method. Each key is an Object and it is associated with an Object[2] object. This array contains two objects. The first object is a LogEvent object, to which the original should be mapped. The second is a String object, representing the label that should be used for the identifier of the underlying graphical object. The eventsMapping parameter may be null.

Parameters:
newLog - the log reader to connect
eventsMapping - the events to map