@Entity public class UpgradeHistoryEntity extends Object
UpgradeHistoryEntity represents the version history of components
participating in an upgrade or a downgrade.| Constructor and Description |
|---|
UpgradeHistoryEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getComponentName() |
RepositoryVersionEntity |
getFromReposistoryVersion()
Gets the repository that the upgrade is coming from.
|
Long |
getId() |
String |
getServiceName() |
RepositoryVersionEntity |
getTargetRepositoryVersion()
Gets the target repository version for this upgrade.
|
String |
getTargetVersion()
Gets the version of the target repository.
|
Long |
getUpgradeId()
Gets the ID of the upgrade associated with this historical entry.
|
int |
hashCode() |
void |
setComponentName(String componentName) |
void |
setFromRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity)
Sets the repository that the services in the upgrade are CURRENT on.
|
void |
setServiceName(String serviceName) |
void |
setTargetRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity)
Sets the target repository of the upgrade.
|
void |
setUpgrade(UpgradeEntity upgrade)
Sets the associated upgrade entity.
|
String |
toString() |
public Long getId()
public Long getUpgradeId()
null).public String getServiceName()
public void setServiceName(String serviceName)
serviceName - public String getComponentName()
public void setComponentName(String componentName)
componentName - public RepositoryVersionEntity getFromReposistoryVersion()
null).public void setFromRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity)
repositoryVersionEntity - the repository entity (not null).public RepositoryVersionEntity getTargetRepositoryVersion()
null).public String getTargetVersion()
null).getTargetRepositoryVersion()public void setTargetRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity)
repositoryVersionEntity - the target repository (not null).public void setUpgrade(UpgradeEntity upgrade)
upgrade - Copyright © 2022 Apache Software Foundation. All rights reserved.