public class ConsoleEvent extends AbstractBuckEvent implements ConsoleEventExternalInterface
java.util.logging
.CONSOLE_EVENT
BUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED
Modifier | Constructor and Description |
---|---|
protected |
ConsoleEvent(Level level,
boolean containsAnsiEscapeCodes,
String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAnsiEscapeCodes() |
static ConsoleEvent |
create(Level level,
String message) |
static ConsoleEvent |
create(Level level,
String message,
Object... args) |
static ConsoleEvent |
createForMessageWithAnsiEscapeCodes(Level level,
String message) |
static ConsoleEvent |
fine(String message) |
static ConsoleEvent |
fine(String message,
Object... args) |
static ConsoleEvent |
finer(String message) |
static ConsoleEvent |
finer(String message,
Object... args) |
String |
getEventName() |
Level |
getLevel() |
String |
getMessage() |
protected String |
getValueString() |
static ConsoleEvent |
info(String message) |
static ConsoleEvent |
info(String message,
Object... args) |
static ConsoleEvent |
severe(String message) |
static ConsoleEvent |
severe(String message,
Object... args) |
String |
toString() |
static ConsoleEvent |
warning(String message) |
static ConsoleEvent |
warning(String message,
Object... args) |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestampMillis, storeLastInstanceAndReplayForNewClients
public Level getLevel()
public boolean containsAnsiEscapeCodes()
public String getMessage()
getMessage
in interface ConsoleEventExternalInterface
public static ConsoleEvent create(Level level, String message)
public static ConsoleEvent create(Level level, String message, Object... args)
public static ConsoleEvent createForMessageWithAnsiEscapeCodes(Level level, String message)
public static ConsoleEvent finer(String message)
public static ConsoleEvent finer(String message, Object... args)
public static ConsoleEvent fine(String message)
public static ConsoleEvent fine(String message, Object... args)
public static ConsoleEvent info(String message)
public static ConsoleEvent info(String message, Object... args)
public static ConsoleEvent warning(String message)
public static ConsoleEvent warning(String message, Object... args)
public static ConsoleEvent severe(String message)
public static ConsoleEvent severe(String message, Object... args)
public String getEventName()
getEventName
in interface BuckEventExternalInterface
protected String getValueString()
getValueString
in class AbstractBuckEvent
public String toString()
toString
in class AbstractBuckEvent