Package org.robolectric.shadows
Class ShadowEventLog.EventBuilder
- java.lang.Object
-
- org.robolectric.shadows.ShadowEventLog.EventBuilder
-
- Enclosing class:
- ShadowEventLog
public static class ShadowEventLog.EventBuilder extends Object
Class to buildEventLog.Event
-
-
Constructor Summary
Constructors Constructor Description EventBuilder(int tag, Object data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventLog.Event
build()
ShadowEventLog.EventBuilder
setProcessId(int processId)
ShadowEventLog.EventBuilder
setThreadId(int threadId)
ShadowEventLog.EventBuilder
setTimeNanos(long timeNanos)
-
-
-
Constructor Detail
-
EventBuilder
public EventBuilder(int tag, Object data)
-
-
Method Detail
-
setProcessId
public ShadowEventLog.EventBuilder setProcessId(int processId)
-
setThreadId
public ShadowEventLog.EventBuilder setThreadId(int threadId)
-
setTimeNanos
public ShadowEventLog.EventBuilder setTimeNanos(long timeNanos)
-
build
public EventLog.Event build()
-
-