public class UpgradeUpdateEvent extends STOMPEvent
STOMPEvent.Type
completeDestination, getMetricName, getType
public static UpgradeUpdateEvent formFullEvent(HostRoleCommandDAO hostRoleCommandDAO, RequestDAO requestDAO, UpgradeEntity upgradeEntity, UpdateEventType type)
public static UpgradeUpdateEvent formUpdateEvent(HostRoleCommandDAO hostRoleCommandDAO, RequestDAO requestDAO, UpgradeEntity upgradeEntity)
public String getAssociatedVersion()
public void setAssociatedVersion(String associatedVersion)
public Long getClusterId()
public void setClusterId(Long clusterId)
public Direction getDirection()
public void setDirection(Direction direction)
public Boolean getDowngradeAllowed()
public void setDowngradeAllowed(Boolean downgradeAllowed)
public Long getRequestId()
public void setRequestId(Long requestId)
public HostRoleStatus getRequestStatus()
public void setRequestStatus(HostRoleStatus requestStatus)
public Boolean getSkipFailures()
public void setSkipFailures(Boolean skipFailures)
public Boolean getSkipServiceCheckFailures()
public void setSkipServiceCheckFailures(Boolean skipServiceCheckFailures)
public org.apache.ambari.spi.upgrade.UpgradeType getUpgradeType()
public void setUpgradeType(org.apache.ambari.spi.upgrade.UpgradeType upgradeType)
public Long getStartTime()
public void setStartTime(Long startTime)
public Long getEndTime()
public void setEndTime(Long endTime)
public Long getUpgradeId()
public void setUpgradeId(Long upgradeId)
public Boolean getSuspended()
public void setSuspended(Boolean suspended)
public Double getProgressPercent()
public void setProgressPercent(Double progressPercent)
public Boolean getRevertAllowed()
public void setRevertAllowed(Boolean revertAllowed)
Copyright © 2022 Apache Software Foundation. All rights reserved.