View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwui.graphview;
7   
8   /***
9      Interface for a converter of a workflow graph. This is the "builder" part of the builder design pattern.
10   */
11  public interface WorkflowGraphConverter {
12      /***
13         Convert an OutEdge.
14       */
15      void convertEdge(OutEdge edge);
16      /***
17         Convert a ReadEdge.
18       */
19      void convertEdge(ReadEdge edge);
20      /***
21         Convert an InEdge.
22       */
23      void convertEdge(InEdge edge);
24      /***
25         Convert a PlaceNode.
26       */
27      void convertNode(PlaceNode node);
28      /***
29         Convert a TransitionNode.
30       */
31      void convertNode(TransitionNode node);
32      /***
33         Convert the graph.
34       */
35      void convertGraph(WorkflowGraph graph);
36  }