Package org.alfresco.event.sdk.model
Interface EventAttributes
-
- All Known Implementing Classes:
RepoEvent
public interface EventAttributesEvent's attributes conforming to CloudEvents v1.0 specification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDatacontenttype()URIgetDataschema()StringgetId()URIgetSource()StringgetSpecversion()ZonedDateTimegetTime()StringgetType()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- The ID of the event, generated by the producer.
-
getType
String getType()
- Returns:
- The type of an event which has happened.
-
getSource
URI getSource()
- Returns:
- The context in which an event happened. E.g. The instance of a DBP component that produced the event.
-
getDataschema
URI getDataschema()
- Returns:
- The schema that
dataadheres to.
-
getSpecversion
String getSpecversion()
- Returns:
- The CloudEvents specification version
-
getTime
ZonedDateTime getTime()
- Returns:
- The timestamp of when the occurrence happened.
-
-