Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT_IN
"MM-dd-YYYY HH:MM:ss a z" copied from EkspresoEventObject, this format is needed by EkspresoEventObject.setEvent_datetime()
|
static java.lang.String |
DATE_FORMAT_OUT
"YYYY-MM-dd'T'HH:MM:ss:SSS'Z'Z" copied from EkspresoEventObject, it is the internal format of this class field 'event_datetime'
|
static java.lang.String |
EKSPRESO_EVENT_GROUP
'SAFS Data Service' the default Ekspreso event_group for SAFS
|
static java.lang.String |
REST_BASE_PATH
'ekspreso' the base path to access entity
|
Constructor and Description |
---|
EkspresoEvent(java.lang.String event_type) |
EkspresoEvent(java.lang.String event_source,
java.lang.String event_group,
java.lang.String event_user,
java.lang.String event_type,
java.util.Date event_datetime) |
EkspresoEvent(java.lang.String event_source,
java.lang.String event_group,
java.lang.String event_user,
java.lang.String event_type,
java.util.Date event_datetime,
java.util.HashSet<java.lang.String> failure_notification_recipients,
java.util.Date event_expire_timestamp) |
EkspresoEvent(java.lang.String event_source,
java.lang.String event_group,
java.lang.String event_user,
java.lang.String event_type,
java.util.Date event_datetime,
java.lang.Object event_info) |
EkspresoEvent(java.lang.String event_source,
java.lang.String event_group,
java.lang.String event_user,
java.lang.String event_type,
java.util.Date event_datetime,
java.lang.Object event_info,
java.util.HashSet<java.lang.String> failure_notification_recipients,
java.util.Date event_expire_timestamp) |
Modifier and Type | Method and Description |
---|---|
com.sas.ekspreso.event_creator.model.EkspresoEventObject |
getEkspreso_event() |
java.lang.Long |
getId()
The ID of this model in the repository
|
java.lang.String |
getRestPath()
The base REST path to make request to this model entity.
|
void |
setEkspreso_event(com.sas.ekspreso.event_creator.model.EkspresoEventObject ekspreso_event) |
public static final transient java.lang.String EKSPRESO_EVENT_GROUP
public static final transient java.lang.String REST_BASE_PATH
public static final java.lang.String DATE_FORMAT_IN
public static final java.lang.String DATE_FORMAT_OUT
public EkspresoEvent(java.lang.String event_type)
public EkspresoEvent(java.lang.String event_source, java.lang.String event_group, java.lang.String event_user, java.lang.String event_type, java.util.Date event_datetime)
event_source
- String, Host/Machine/Source submitting event to Kafka.event_group
- String, Name of the app or process submitting the event. Such as "safs_data_service".event_user
- String, UserId of the app or process submitting the event.event_type
- String, Group-unique event type being submitting in the event. Such as "safs_test_start", or "safs_test_stop".event_datetime
- Date, Date/Time timestamp of the event occurrence on the source.
This value may be different than the actual event occurrence that is found in the originating event_info.public EkspresoEvent(java.lang.String event_source, java.lang.String event_group, java.lang.String event_user, java.lang.String event_type, java.util.Date event_datetime, java.util.HashSet<java.lang.String> failure_notification_recipients, java.util.Date event_expire_timestamp)
event_source
- String, Host/Machine/Source submitting event to Kafka.event_group
- String, Name of the app or process submitting the event. Such as "safs_data_service".event_user
- String, UserId of the app or process submitting the event.event_type
- String, Group-unique event type being submitting in the event. Such as "safs_test_start", or "safs_test_stop".event_datetime
- Date, Date/Time timestamp of the event occurrence on the source.
This value may be different than the actual event occurrence that is found in the originating event_info.failure_notification_recipients
- HashSetevent_expire_timestamp
- Date, Expiration timestamp for the event, a deadline by which this event should be processed.public EkspresoEvent(java.lang.String event_source, java.lang.String event_group, java.lang.String event_user, java.lang.String event_type, java.util.Date event_datetime, java.lang.Object event_info)
event_source
- String, Host/Machine/Source submitting event to Kafka.event_group
- String, Name of the app or process submitting the event. Such as "safs_data_service".event_user
- String, UserId of the app or process submitting the event.event_type
- String, Group-unique event type being submitting in the event. Such as "safs_test_start", or "safs_test_stop".event_datetime
- Date, Date/Time timestamp of the event occurrence on the source.
This value may be different than the actual event occurrence that is found in the originating event_info.event_info
- Object, Items in the original event being submitted as an ekspreso_event, expressed in key/value pairs. Such as { key1: value1, key2: value2, ..., keyn: valuen}public EkspresoEvent(java.lang.String event_source, java.lang.String event_group, java.lang.String event_user, java.lang.String event_type, java.util.Date event_datetime, java.lang.Object event_info, java.util.HashSet<java.lang.String> failure_notification_recipients, java.util.Date event_expire_timestamp)
event_source
- String, Host/Machine/Source submitting event to Kafka.event_group
- String, Name of the app or process submitting the event. Such as "safs_data_service".event_user
- String, UserId of the app or process submitting the event.event_type
- String, Group-unique event type being submitting in the event. Such as "safs_test_start", or "safs_test_stop".event_datetime
- Date, Date/Time timestamp of the event occurrence on the source.
This value may be different than the actual event occurrence that is found in the originating event_info.event_info
- Object, Items in the original event being submitted as an ekspreso_event, expressed in key/value pairs. Such as { key1: value1, key2: value2, ..., keyn: valuen}failure_notification_recipients
- HashSetevent_expire_timestamp
- Date, Expiration timestamp for the event, a deadline by which this event should be processed.public java.lang.Long getId()
RestModel
public java.lang.String getRestPath()
RestModel
getRestPath
in interface RestModel
public com.sas.ekspreso.event_creator.model.EkspresoEventObject getEkspreso_event()
public void setEkspreso_event(com.sas.ekspreso.event_creator.model.EkspresoEventObject ekspreso_event)
Copyright © SAS Institute. All Rights Reserved.