org.processmining.converting
Class BPELTooWFN

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

public class BPELTooWFN
extends java.lang.Object
implements ConvertingPlugin

Title: BPELTooWFN

Description: Converts a BPEL proces sinto an open WF net.

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Eric Verbeek

Constructor Summary
BPELTooWFN()
           
 
Method Summary
 boolean accepts(ProvidedObject object)
          This function tells the interface which results are accepted by this Plugin
 PetriNetResult 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.
 PetriNetResult result(BPEL source)
           
 void setCommunicationOnly(boolean result)
           
 void setSimplify(boolean result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELTooWFN

public BPELTooWFN()
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 PetriNetResult 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 - ProvidedObject Should contain a BPEL object
Returns:
PetriNetResult The BPEL object converted into a PetriNetResult.

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 - ProvidedObject
Returns:
boolean Whether object contains a BPEL object.

result

public PetriNetResult result(BPEL source)
Parameters:
source - BPEL The BPEL object
Returns:
PetriNetResult The BPEL object converted into a PetriNetResult.

setCommunicationOnly

public void setCommunicationOnly(boolean result)
Parameters:
result - boolean Whether or not to restrict the resulting net to communication only.

setSimplify

public void setSimplify(boolean result)
Parameters:
result - boolean Whether or not to simplify the resuting oWF net.