Package | Description |
---|---|
org.apache.ambari.server.controller | |
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.state |
Modifier and Type | Method and Description |
---|---|
RepositoryVersionState |
ServiceComponentResponse.getRepositoryState() |
RepositoryVersionState |
ServiceResponse.getRepositoryVersionState()
Gets the calculated repository version state from the components of this
service.
|
Constructor and Description |
---|
ServiceComponentResponse(Long clusterId,
String clusterName,
String serviceName,
String componentName,
StackId desiredStackId,
String desiredState,
Map<String,Integer> serviceComponentStateCount,
boolean recoveryEnabled,
String displayName,
String desiredVersion,
RepositoryVersionState repoState) |
ServiceResponse(Long clusterId,
String clusterName,
String serviceName,
StackId desiredStackId,
String desiredRepositoryVersion,
RepositoryVersionState repositoryVersionState,
String desiredState,
boolean credentialStoreSupported,
boolean credentialStoreEnabled,
boolean ssoIntegrationSupported,
boolean ssoIntegrationDesired,
boolean ssoIntegrationEnabled,
boolean ssoIntegrationRequiresKerberos,
boolean kerberosEnabled,
boolean ldapIntegrationSupported,
boolean ldapIntegrationEnabled,
boolean ldapIntegrationDesired) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<HostVersionEntity> |
HostVersionDAO.findByRepositoryAndStates(RepositoryVersionEntity repositoryVersion,
Collection<RepositoryVersionState> states)
Gets all host version entities that are of the given states
|
Modifier and Type | Method and Description |
---|---|
RepositoryVersionState |
ServiceComponentDesiredStateEntity.getRepositoryState() |
RepositoryVersionState |
ServiceComponentVersionEntity.getState() |
RepositoryVersionState |
HostVersionEntity.getState() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentDesiredStateEntity.setRepositoryState(RepositoryVersionState state) |
void |
ServiceComponentVersionEntity.setState(RepositoryVersionState state) |
void |
HostVersionEntity.setState(RepositoryVersionState state) |
Constructor and Description |
---|
HostVersionEntity(HostEntity hostEntity,
RepositoryVersionEntity repositoryVersion,
RepositoryVersionState state)
When using this constructor, you should also call setHostEntity().
|
Modifier and Type | Method and Description |
---|---|
static RepositoryVersionState |
RepositoryVersionState.getAggregateState(List<RepositoryVersionState> states)
Gets a single representation of the repository state based on the supplied
states.
|
RepositoryVersionState |
Service.getRepositoryState()
Gets the repository for the desired version of this service by consulting
the repository states of all known components.
|
RepositoryVersionState |
ServiceComponentImpl.getRepositoryState() |
RepositoryVersionState |
ServiceComponent.getRepositoryState() |
RepositoryVersionState |
ServiceImpl.getRepositoryState()
Gets the repository for the desired version of this service by consulting
the repository states of all known components.
|
static RepositoryVersionState |
RepositoryVersionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryVersionState[] |
RepositoryVersionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryVersionState |
RepositoryVersionState.getAggregateState(List<RepositoryVersionState> states)
Gets a single representation of the repository state based on the supplied
states.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.