Modifier and Type | Method and Description |
---|---|
void |
HostStackVersionResourceProvider.addRequestedEntities(Set<Resource> resources,
List<HostVersionEntity> requestedEntities,
Set<String> requestedIds,
String clusterName)
Adds requested entities to resources
|
Modifier and Type | Method and Description |
---|---|
HostVersionEntity |
HostVersionDAO.findByClusterStackVersionAndHost(String clusterName,
StackId stackId,
String version,
String hostName)
Retrieve the single host version for the given cluster, stack name, stack
version, and host name.
|
HostVersionEntity |
HostVersionDAO.findHostVersionByHostAndRepository(HostEntity host,
RepositoryVersionEntity repositoryVersion)
Gets the
HostVersionEntity associted with the specified host and
repository. |
Modifier and Type | Method and Description |
---|---|
List<HostVersionEntity> |
HostVersionDAO.findByCluster(String clusterName)
Retrieve all of the cluster versions for the given cluster name.
|
List<HostVersionEntity> |
HostVersionDAO.findByClusterAndHost(String clusterName,
String hostName)
Retrieve all of the host versions for the given cluster name and host name.
|
List<HostVersionEntity> |
HostVersionDAO.findByClusterAndState(String clusterName,
RepositoryVersionState state)
Retrieve all of the host versions for the given cluster name, and state.
|
List<HostVersionEntity> |
HostVersionDAO.findByClusterHostAndState(String clusterName,
String hostName,
RepositoryVersionState state)
Retrieve all of the host versions for the given cluster name, host name, and state.
|
List<HostVersionEntity> |
HostVersionDAO.findByClusterStackAndVersion(String clusterName,
StackId stackId,
String version)
Retrieve all of the host versions for the given cluster name, stack name,
and stack version.
|
List<HostVersionEntity> |
HostVersionDAO.findByHost(String hostName)
Retrieve all of the host versions for the given host name across all clusters.
|
List<HostVersionEntity> |
HostVersionDAO.findByRepositoryAndStates(RepositoryVersionEntity repositoryVersion,
Collection<RepositoryVersionState> states)
Gets all host version entities that are of the given states
|
List<HostVersionEntity> |
HostVersionDAO.findHostVersionByClusterAndRepository(long clusterId,
RepositoryVersionEntity repositoryVersion)
Gets all host version entities assocaited with the specified cluster and
repository.
|
Modifier and Type | Method and Description |
---|---|
void |
HostVersionDAO.create(HostVersionEntity entity)
Construct a Host Version.
|
Modifier and Type | Method and Description |
---|---|
Collection<HostVersionEntity> |
HostEntity.getHostVersionEntities() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryVersionEntity.updateHostVersionEntityRelation(HostVersionEntity entity)
Update one-to-many relation without rebuilding the whole entity
|
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.setHostVersionEntities(Collection<HostVersionEntity> hostVersionEntities) |
Constructor and Description |
---|
HostVersionEntity(HostVersionEntity other)
This constructor is mainly used by the unit tests in order to construct an object without the id.
|
Modifier and Type | Method and Description |
---|---|
HostVersionEntity |
ServiceComponentHost.recalculateHostVersionState()
Updates an existing
HostVersionEntity for the desired repository of
this component, or create one if it doesn't exist. |
Modifier and Type | Method and Description |
---|---|
List<HostVersionEntity> |
Host.getAllHostVersions()
Get all of the HostVersionEntity objects for the host.
|
Modifier and Type | Method and Description |
---|---|
List<HostVersionEntity> |
HostImpl.getAllHostVersions()
Get all of the HostVersionEntity objects for the host.
|
Modifier and Type | Method and Description |
---|---|
HostVersionEntity |
ServiceComponentHostImpl.recalculateHostVersionState()
Updates an existing
HostVersionEntity for the desired repository of
this component, or create one if it doesn't exist. |
Copyright © 2022 Apache Software Foundation. All rights reserved.