Modifier and Type | Method and Description |
---|---|
void |
AmbariMetaInfo.removeMpack(MpackEntity mpackEntity,
StackEntity stackEntity)
Remove Mpack from the mpackMap and stackMap which is used to power the Mpack and Stack APIs.
|
Modifier and Type | Method and Description |
---|---|
void |
AmbariManagementController.removeMpack(MpackEntity mpackEntity,
StackEntity stackEntity)
Remove Mpack from the mpackMap and stackMap which is used to power the Mpack and Stack APIs.
|
void |
AmbariManagementControllerImpl.removeMpack(MpackEntity mpackEntity,
StackEntity stackEntity)
Remove Mpack from the mpackMap and stackMap which is used to power the Mpack and Stack APIs.
|
Constructor and Description |
---|
Stack(StackEntity stack,
AmbariManagementController ambariManagementController)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MpackManager.removeMpack(MpackEntity mpackEntity,
StackEntity stackEntity)
Remove the mpack and stack directories when a request comes in to delete a particular mpack.
|
Modifier and Type | Method and Description |
---|---|
StackEntity |
StackDAO.find(StackId stackId)
Gets the stack that matches the specified stack ID by name and version.
|
StackEntity |
StackDAO.find(String stackName,
String stackVersion)
Gets the stack that matches the specified name and version.
|
StackEntity |
StackDAO.findById(long stackId)
Gets a stack with the specified ID.
|
StackEntity |
StackDAO.findByMpack(Long mpackId)
Gets the stack that matches the specified mpackid.
|
StackEntity |
StackDAO.merge(StackEntity stack)
Merge the speicified stack with the existing stack in the database.
|
Modifier and Type | Method and Description |
---|---|
List<StackEntity> |
StackDAO.findAll()
Gets all of the defined stacks.
|
Modifier and Type | Method and Description |
---|---|
void |
StackDAO.create(StackEntity stack)
Persists a new stack instance.
|
RepositoryVersionEntity |
RepositoryVersionDAO.create(StackEntity stackEntity,
String version,
String displayName,
List<RepoOsEntity> repoOsEntities)
Validates and creates an object.
|
RepositoryVersionEntity |
RepositoryVersionDAO.create(StackEntity stackEntity,
String version,
String displayName,
List<RepoOsEntity> repoOsEntities,
org.apache.ambari.spi.RepositoryType type)
Validates and creates an object.
|
void |
StackDAO.createOrUpdate(StackEntity stack)
Creates or updates the specified entity.
|
RepositoryVersionEntity |
RepositoryVersionDAO.findByStackAndVersion(StackEntity stackEntity,
String version)
Retrieves repository version by stack.
|
StackEntity |
StackDAO.merge(StackEntity stack)
Merge the speicified stack with the existing stack in the database.
|
void |
StackDAO.refresh(StackEntity stack)
Refresh the state of the stack instance from the database.
|
void |
StackDAO.remove(StackEntity stack)
Removes the specified stack and all related clusters, services and
components.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<StackEntity,Long> |
StackEntity_.stackId |
static javax.persistence.metamodel.SingularAttribute<StackEntity,String> |
StackEntity_.stackName |
static javax.persistence.metamodel.SingularAttribute<StackEntity,String> |
StackEntity_.stackVersion |
Modifier and Type | Method and Description |
---|---|
StackEntity |
ClusterStateEntity.getCurrentStack() |
StackEntity |
ClusterEntity.getDesiredStack() |
StackEntity |
ServiceComponentDesiredStateEntity.getDesiredStack() |
StackEntity |
ServiceDesiredStateEntity.getDesiredStack() |
StackEntity |
RepositoryVersionEntity.getStack()
Gets the repository version's stack.
|
StackEntity |
ExtensionLinkEntity.getStack() |
StackEntity |
ServiceConfigEntity.getStack()
Gets the service configuration's stack.
|
StackEntity |
ClusterConfigEntity.getStack()
Gets the cluster configuration's stack.
|
StackEntity |
BlueprintEntity.getStack()
Gets the blueprint's stack.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterStateEntity.setCurrentStack(StackEntity currentStack) |
void |
ClusterEntity.setDesiredStack(StackEntity desiredStack) |
void |
RepositoryVersionEntity.setStack(StackEntity stack)
Sets the repository version's stack.
|
void |
ExtensionLinkEntity.setStack(StackEntity stack) |
void |
ServiceConfigEntity.setStack(StackEntity stack)
Sets the service configuration's stack.
|
void |
ClusterConfigEntity.setStack(StackEntity stack)
Sets the cluster configuration's stack.
|
void |
BlueprintEntity.setStack(StackEntity stack)
Sets the blueprint's stack.
|
Constructor and Description |
---|
RepositoryVersionEntity(StackEntity stack,
String version,
String displayName,
List<RepoOsEntity> repoOsEntities) |
Modifier and Type | Method and Description |
---|---|
void |
StackManager.removeStack(StackEntity stackEntity) |
Constructor and Description |
---|
StackId(StackEntity stackEntity) |
Copyright © 2022 Apache Software Foundation. All rights reserved.