public interface Event
It is expected that these events are serialized as conforming ActivityStream messages.
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<org.apache.commons.rdf.api.IRI> |
getAgents()
Get the Agents associated with this event.
|
java.time.Instant |
getCreated()
Get the created date for this event.
|
org.apache.commons.rdf.api.IRI |
getIdentifier()
Get an identifier for this event.
|
java.util.Optional<org.apache.commons.rdf.api.IRI> |
getInbox()
Get the inbox corresponding to the resource corresponding to this event, if one exists.
|
java.util.Optional<org.apache.commons.rdf.api.IRI> |
getObject()
Get the resource identifier, if one exists.
|
java.util.Collection<org.apache.commons.rdf.api.IRI> |
getObjectTypes()
Get the types for the resource that is the object of this event.
|
java.util.Collection<org.apache.commons.rdf.api.IRI> |
getTypes()
Get types for this event.
|
org.apache.commons.rdf.api.IRI getIdentifier()
java.util.Collection<org.apache.commons.rdf.api.IRI> getAgents()
java.util.Optional<org.apache.commons.rdf.api.IRI> getObject()
java.util.Collection<org.apache.commons.rdf.api.IRI> getTypes()
java.util.Collection<org.apache.commons.rdf.api.IRI> getObjectTypes()
java.time.Instant getCreated()
java.util.Optional<org.apache.commons.rdf.api.IRI> getInbox()