public static class ShadowEventLog.EventBuilder extends Object
Class to build EventLog.Event
Constructor and Description |
---|
EventBuilder(int tag,
Object data) |
Modifier and Type | Method and Description |
---|---|
EventLog.Event |
build() |
ShadowEventLog.EventBuilder |
setProcessId(int processId) |
ShadowEventLog.EventBuilder |
setThreadId(int threadId) |
ShadowEventLog.EventBuilder |
setTimeNanos(long timeNanos) |
public EventBuilder(int tag, Object data)
public ShadowEventLog.EventBuilder setProcessId(int processId)
public ShadowEventLog.EventBuilder setThreadId(int threadId)
public ShadowEventLog.EventBuilder setTimeNanos(long timeNanos)
public EventLog.Event build()