|
Forge - Parent 1.0.5-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.forge.shell.Wait
@Singleton public class Wait
Display a "Please wait" spinner for the user, until cancelled. It is a good idea to wrap usage of Wait
in a
try-finally block to ensure that the wait is always completed.
Constructor Summary | |
---|---|
Wait(Shell shell)
|
Method Summary | |
---|---|
boolean |
isWaiting()
Returns true if the waiting spinner is currently being displayed; otherwise, return false. |
void |
start()
Start waiting, printing the default message. |
void |
start(String message)
Start waiting. |
void |
stop()
Stop waiting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public Wait(Shell shell)
Method Detail |
---|
public void start()
public void start(String message)
public void stop()
public boolean isWaiting()
|
Forge - Parent 1.0.5-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |