@Entity public class ServiceComponentDesiredStateEntity extends Object
Constructor and Description |
---|
ServiceComponentDesiredStateEntity() |
public Long getId()
public Long getClusterId()
public void setClusterId(Long clusterId)
public String getServiceName()
public void setServiceName(String serviceName)
public String getComponentName()
public void setComponentName(String componentName)
public State getDesiredState()
public void setDesiredState(State desiredState)
public RepositoryVersionEntity getDesiredRepositoryVersion()
public void setDesiredRepositoryVersion(RepositoryVersionEntity desiredRepositoryVersion)
public StackEntity getDesiredStack()
public String getDesiredVersion()
public void addVersion(ServiceComponentVersionEntity versionEntity)
versionEntity
- the version to addpublic Collection<ServiceComponentVersionEntity> getVersions()
public boolean isRecoveryEnabled()
public void setRecoveryEnabled(boolean recoveryEnabled)
public ClusterServiceEntity getClusterServiceEntity()
public void setClusterServiceEntity(ClusterServiceEntity clusterServiceEntity)
public Collection<HostComponentStateEntity> getHostComponentStateEntities()
public void setHostComponentStateEntities(Collection<HostComponentStateEntity> hostComponentStateEntities)
public Collection<HostComponentDesiredStateEntity> getHostComponentDesiredStateEntities()
public void setHostComponentDesiredStateEntities(Collection<HostComponentDesiredStateEntity> hostComponentDesiredStateEntities)
public void setRepositoryState(RepositoryVersionState state)
state
- the repository state for getDesiredVersion()
public RepositoryVersionState getRepositoryState()
getDesiredVersion()
Copyright © 2022 Apache Software Foundation. All rights reserved.