public class StartupQuery
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StartupQuery.AbortedException
Exception not being caught by the crash report generation logic.
|
static class |
StartupQuery.QueryBuilder |
static class |
StartupQuery.QueryWrapperClient |
static class |
StartupQuery.QueryWrapperServer |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action |
private java.lang.InterruptedException |
exception |
private java.lang.String |
header |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static StartupQuery |
pending |
private java.util.concurrent.atomic.AtomicBoolean |
result |
private java.util.concurrent.CountDownLatch |
signal |
private static org.apache.logging.log4j.Marker |
SQ |
private boolean |
synchronous |
private java.lang.String |
text |
Modifier | Constructor and Description |
---|---|
private |
StartupQuery(java.lang.String header,
java.lang.String text,
java.lang.String action,
java.util.concurrent.atomic.AtomicBoolean result) |
Modifier and Type | Method and Description |
---|---|
static void |
abort() |
static StartupQuery.QueryBuilder |
builder() |
static boolean |
check() |
static boolean |
confirm(java.lang.String text)
Deprecated.
|
private void |
execute() |
void |
finish() |
java.lang.String |
getAction() |
java.lang.String |
getHeader() |
java.lang.Boolean |
getResult() |
java.lang.String |
getText() |
boolean |
isSynchronous() |
static void |
notify(java.lang.String text)
Deprecated.
|
static boolean |
pendingQuery() |
static void |
reset() |
void |
setResult(boolean result) |
private void |
throwException() |
private static final org.apache.logging.log4j.Logger LOGGER
private static final org.apache.logging.log4j.Marker SQ
private java.lang.InterruptedException exception
private static volatile StartupQuery pending
private final java.lang.String header
private final java.lang.String text
private final java.lang.String action
@Nullable private java.util.concurrent.atomic.AtomicBoolean result
private java.util.concurrent.CountDownLatch signal
private volatile boolean synchronous
private StartupQuery(java.lang.String header, java.lang.String text, java.lang.String action, @Nullable java.util.concurrent.atomic.AtomicBoolean result)
public static StartupQuery.QueryBuilder builder()
@Deprecated public static boolean confirm(java.lang.String text)
@Deprecated public static void notify(java.lang.String text)
public static void abort()
public static boolean pendingQuery()
public static void reset()
public static boolean check()
private void throwException() throws java.lang.InterruptedException
java.lang.InterruptedException
@Nullable public java.lang.Boolean getResult()
public void setResult(boolean result)
public java.lang.String getHeader()
public java.lang.String getText()
public java.lang.String getAction()
public boolean isSynchronous()
public void finish()
private void execute()