@Service public class DeploymentStatusHelperImpl extends Object implements DeploymentStatusHelper
| Constructor and Description |
|---|
DeploymentStatusHelperImpl(DeploymentRepository deploymentRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateOnError(String deploymentUuid,
String message)
Update the status of the deployment with an error message.
|
void |
updateOnError(String deploymentUuid,
String message,
Throwable throwable) |
void |
updateOnError(String deploymentUuid,
Throwable throwable) |
void |
updateOnSuccess(String deploymentUuid)
Update the status of a deployment successfully.
|
void |
updateResources(Deployment deployment,
Status status) |
public DeploymentStatusHelperImpl(DeploymentRepository deploymentRepository)
public void updateOnError(String deploymentUuid, String message, Throwable throwable)
updateOnError in interface DeploymentStatusHelperpublic void updateOnError(String deploymentUuid, Throwable throwable)
updateOnError in interface DeploymentStatusHelperpublic void updateOnError(String deploymentUuid, String message)
DeploymentStatusHelperupdateOnError in interface DeploymentStatusHelperdeploymentUuid - the deployment idmessage - the error messagepublic void updateOnSuccess(String deploymentUuid)
DeploymentStatusHelperupdateOnSuccess in interface DeploymentStatusHelperdeploymentUuid - the deployment UUIDpublic void updateResources(Deployment deployment, Status status)
updateResources in interface DeploymentStatusHelperCopyright © 2015–2023 I.N.F.N.. All rights reserved.