org.crsh.util
Class Statement

java.lang.Object
  extended by org.crsh.util.Statement

public abstract class Statement
extends Object

An helper for chaining statements to execute.


Constructor Summary
Statement()
           
 
Method Summary
 void all()
           
protected abstract  void run()
           
 Statement with(Callable<?> callable)
           
 Statement with(Runnable runnable)
           
 Statement with(Statement callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statement

public Statement()
Method Detail

run

protected abstract void run()
                     throws Throwable
Throws:
Throwable

with

public Statement with(Runnable runnable)

with

public Statement with(Callable<?> callable)

with

public Statement with(Statement callback)

all

public void all()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.