|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.util.Statement
public abstract class Statement
An helper for chaining statements to execute.
Field Summary | |
---|---|
private Statement |
next . |
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 |
Field Detail |
---|
private Statement next
Constructor Detail |
---|
public Statement()
Method Detail |
---|
protected abstract void run() throws Throwable
Throwable
public Statement with(Runnable runnable)
public Statement with(Callable<?> callable)
public Statement with(Statement callback)
public void all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |