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