public class BoxEventLogsManager extends Object
Provides operations to read Box enterprise (admin) event logs.
Constructor and Description |
---|
BoxEventLogsManager(com.box.sdk.BoxAPIConnection boxConnection)
Create event logs manager to manage the event logs of Box connection's
authenticated user.
|
Modifier and Type | Method and Description |
---|---|
List<com.box.sdk.BoxEvent> |
getEnterpriseEvents(String position,
Date after,
Date before,
com.box.sdk.BoxEvent.Type... types)
Create an event stream with optional starting initial position and add
listener that will be notified when an event is received.
|
public BoxEventLogsManager(com.box.sdk.BoxAPIConnection boxConnection)
boxConnection
- - Box connection to authenticated user account.public List<com.box.sdk.BoxEvent> getEnterpriseEvents(String position, Date after, Date before, com.box.sdk.BoxEvent.Type... types)
position
- - the starting position of the event stream. May be
null
in which case all events within bounds
returned.after
- - the lower bound on the timestamp of the events returned.after
- - the upper bound on the timestamp of the events returned.types
- - an optional list of event types to filter by.Apache Camel