Videoautomat

videoautomat.contentcreator.stdactions
Class TransitWithAction

java.lang.Object
  extended by videoautomat.contentcreator.stdactions.TransitWithAction

public class TransitWithAction
extends Object

Standart action to perform the given transition

Author:
Tobias Ruch

Constructor Summary
TransitWithAction(Transition transition)
          Constructs an new action.
 
Method Summary
 void doAction(SaleProcess saleProcess, SalesPoint salePoint)
          Performes the given transition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitWithAction

public TransitWithAction(Transition transition)
Constructs an new action.

Parameters:
transition - - Transition of this action.
Method Detail

doAction

public void doAction(SaleProcess saleProcess,
                     SalesPoint salePoint)
              throws Throwable
Performes the given transition.

Parameters:
saleProcess - - current sale.SaleProecess
salePoint - - current sale.SalesPoint
Throws:
Throwable

Videoautomat