public void single ( final C context , Outcome < C > outcome , final Function < C > function ) { SingletonControl ctrl = new SingletonControl ( context , outcome ) ; progress . reset ( 1 ) ; function . execute ( ctrl ) ; }
Convenience method to executes a single function . Use this method if you have implemented your business logic across different functions but just want to execute a single function .