public final class ActionFinalReportReceivedEvent extends AmbariEvent
ActionFinalReportReceivedEvent
is fired when a
command report action is received. Event is fired only if command state
is COMPLETED/FAILED/ABORTED.AmbariEvent.AmbariEventType
m_eventType
Constructor and Description |
---|
ActionFinalReportReceivedEvent(Long clusterId,
String hostname,
CommandReport report,
Boolean emulated)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Long |
getClusterId() |
CommandReport |
getCommandReport() |
String |
getHostname() |
String |
getRole() |
Boolean |
isEmulated() |
String |
toString() |
getType
public ActionFinalReportReceivedEvent(Long clusterId, String hostname, CommandReport report, Boolean emulated)
clusterId
- (beware, may be null if action is not bound to cluster)hostname
- host that is an origin for a command reportreport
- full command report (may be null if action has been cancelled)emulated
- true, if event was generated without actually receiving
data from agent (e.g. if we did not perform action, or action timed out,
but we want to trigger event listener anyway). More loose checks against
data will be performed in this case.public Long getClusterId()
public String getHostname()
public CommandReport getCommandReport()
public String getRole()
public Boolean isEmulated()
public String toString()
AmbariEvent
toString
in class AmbariEvent
Copyright © 2022 Apache Software Foundation. All rights reserved.