@Singleton public class Wait extends Object
Wait in a
try-finally block to ensure that the wait is always completed.| Modifier and Type | Method and Description |
|---|---|
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.
|
@Inject public Wait(Shell shell)
public void start()
public void start(String message)
public void stop()
public boolean isWaiting()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.