public class ProgressNotification extends Notification
Modifier and Type | Class and Description |
---|---|
static class |
ProgressNotification.ProgressEventType
Progress event type.
|
Modifier and Type | Field and Description |
---|---|
static int |
DATABASE_CANDIDATE
Deprecated.
Use
Conf.DB_CANDIDATE instead. |
static int |
DATABASE_NO_DB
Deprecated.
Use
Conf.DB_NONE instead. |
static int |
DATABASE_RUNNING
Deprecated.
Use
Conf.DB_RUNNING instead. |
static int |
DATABASE_STARTUP
Deprecated.
Use
Conf.DB_STARTUP instead. |
Constructor and Description |
---|
ProgressNotification(NotificationType type,
ProgressNotification.ProgressEventType progressEventType,
Long timestamp,
Long duration,
int usid,
int tid,
int datastore,
String context,
String subsystem,
String phase,
String message,
String annotation) |
ProgressNotification(NotificationType type,
ProgressNotification.ProgressEventType progressEventType,
Long timestamp,
Long duration,
int usid,
int tid,
int datastore,
String context,
String subsystem,
String phase,
String message,
String annotation,
String service,
String servicePhase,
Long commitQueueId,
String node,
String device,
String devicePhase,
String pkg) |
Modifier and Type | Method and Description |
---|---|
String |
getAnnotation()
Metadata about the event, indicating error, explains latency or
show result etc.
|
Long |
getCommitQueueId()
Commit queue item id.
|
String |
getContext()
The context is either one of netconf, cli, webui, snmp,
rest, system or it can be any other context string
defined through the use of MAAPI.
|
int |
getDatastore()
Name of the datastore for which the transaction is started:
Conf.DB_NONE
Conf.DB_CANDIDATE
Conf.DB_RUNNING
Conf.DB_STARTUP
Conf.DB_OPERATIONAL
Conf.DB_PRE_COMMIT_RUNNING
Conf.DB_INTENDED
|
String |
getDatastoreStr()
Name, as string, of the datastore for which the transaction
is started.
|
int |
getDBName()
Deprecated.
Use
ProgressNotification.getDatastore() instead. |
String |
getDevice()
Device name.
|
String |
getDevicePhase()
Device communication phase.
|
Long |
getDuration()
Duration of the event in microseconds.
|
String |
getMessage()
Progress event messeage.
|
String |
getNode()
Remote node name.
|
String |
getPackage()
The package from which the event originates.
|
String |
getPhase()
Transaction phase.
|
ProgressNotification.ProgressEventType |
getProgressEventType()
Progress event type.
|
String |
getService()
The invoked service instance.
|
String |
getServicePhase()
Callback phase of the invoked service.
|
int |
getSessionId()
User session id.
|
String |
getSubsystem()
Subsystem name.
|
Long |
getTimestamp()
Timestamp in microseconds since Epoch.
|
int |
getTransaction()
Deprecated.
Use
ProgressNotification.getTransactionId() instead. |
int |
getTransactionId()
Transaction id.
|
int |
getUserId()
Deprecated.
Use
ProgressNotification.getSessionId() instead. |
String |
toString() |
getNotificationType
@Deprecated public static final int DATABASE_NO_DB
Conf.DB_NONE
instead.@Deprecated public static final int DATABASE_CANDIDATE
Conf.DB_CANDIDATE
instead.@Deprecated public static final int DATABASE_RUNNING
Conf.DB_RUNNING
instead.@Deprecated public static final int DATABASE_STARTUP
Conf.DB_STARTUP
instead.public ProgressNotification(NotificationType type, ProgressNotification.ProgressEventType progressEventType, Long timestamp, Long duration, int usid, int tid, int datastore, String context, String subsystem, String phase, String message, String annotation)
public ProgressNotification(NotificationType type, ProgressNotification.ProgressEventType progressEventType, Long timestamp, Long duration, int usid, int tid, int datastore, String context, String subsystem, String phase, String message, String annotation, String service, String servicePhase, Long commitQueueId, String node, String device, String devicePhase, String pkg)
public String toString()
toString
in class Notification
@Deprecated public int getDBName()
ProgressNotification.getDatastore()
instead.@Deprecated public int getUserId()
ProgressNotification.getSessionId()
instead.@Deprecated public int getTransaction()
ProgressNotification.getTransactionId()
instead.public ProgressNotification.ProgressEventType getProgressEventType()
public Long getTimestamp()
public Long getDuration()
public int getSessionId()
public int getTransactionId()
public int getDatastore()
public String getDatastoreStr()
public String getContext()
public String getSubsystem()
public String getPhase()
public String getMessage()
public String getAnnotation()
public String getService()
public String getServicePhase()
public Long getCommitQueueId()
public String getNode()
public String getDevice()
public String getDevicePhase()
public String getPackage()