org.processmining.converting
Class PetriNetTooWFNet

java.lang.Object
  extended by org.processmining.converting.PetriNetTooWFNet
All Implemented Interfaces:
ConvertingPlugin, Plugin

public class PetriNetTooWFNet
extends java.lang.Object
implements ConvertingPlugin

Title: PetriNetTooWFNet

Description: Converts a PetriNet object into an o WFNet object (by specifying the source place and the sink place). Additional source and sink places will be turned into communication places. See PetriNetToWFNet for additional details.

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Constructor Summary
PetriNetTooWFNet()
           
 
Method Summary
 boolean accepts(ProvidedObject object)
          This function tells the interface which results are accepted by this Plugin
 oWFNet convert(PetriNet source)
           
 MiningResult convert(ProvidedObject object)
          Execute this conversion algorithm on the given log file.
 java.lang.String getHtmlDescription()
          Gets a description of this plugin in HTML.
 java.lang.String getName()
          Gets the name of this plugin.
 void setSinkPlace(Place place)
           
 void setSourcePlace(Place place)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PetriNetTooWFNet

public PetriNetTooWFNet()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Plugin
Gets the name of this plugin. Implementing classes should use this method to return their own name.

Specified by:
getName in interface Plugin
Returns:
the name of this plugin

getHtmlDescription

public java.lang.String getHtmlDescription()
Description copied from interface: Plugin
Gets a description of this plugin in HTML. The string returned by this method should only contain the contents of the body of the html page, so the html, head and body tags should not be used. This HTML page is displayed in the help system or as context sensitive help. The HTML body can be stored in an external file in the /lib/documentation/ sub folder and in this case it can be obtained by calling PluginDocumentationLoader.load(this)

Specified by:
getHtmlDescription in interface Plugin
Returns:
a description of this plugin in HTML

convert

public MiningResult convert(ProvidedObject object)
Description copied from interface: ConvertingPlugin
Execute this conversion algorithm on the given log file.

Specified by:
convert in interface ConvertingPlugin
Parameters:
object - The original mining result
Returns:
the result of the conversion, in a MininResult object

accepts

public boolean accepts(ProvidedObject object)
Description copied from interface: ConvertingPlugin
This function tells the interface which results are accepted by this Plugin

Specified by:
accepts in interface ConvertingPlugin
Parameters:
object - The original mining result
Returns:
Whether or not this result is accepted

convert

public oWFNet convert(PetriNet source)

setSourcePlace

public void setSourcePlace(Place place)

setSinkPlace

public void setSinkPlace(Place place)