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.lang.StringgetId()java.net.URIgetSource()java.lang.StringgetSpecversion()java.lang.StringgetSubject()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.
-
getSubject
java.lang.String getSubject()
- Returns:
- A value describing the subject of the event in the context of the event producer. E.g. The name of the newly created node.
-
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
-
-