| Package | Description |
|---|---|
| co.cask.cdap.report.main |
| Modifier and Type | Method and Description |
|---|---|
static Notification |
MessageUtil.messageToNotification(Message message)
Deserialize TMS message into
Notification |
| Modifier and Type | Method and Description |
|---|---|
static ProgramRunInfo |
MessageUtil.constructAndGetProgramRunInfo(Message message,
Notification notification)
Based on the
Message and its ProgramStatus,
construct by setting the fields of ProgramRunInfo and return that. |
static boolean |
MessageUtil.isCDAPVersionCompatible(Notification notification)
CDAP_VERSION key was added only on CDAP 5.0 and Reporting app only works after CDAP 5.0 and we want
to skip pre 5.0 records.
|
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.