public class UpdateAPIStatus extends AbstractAPIMTask implements IResponseParser
| Modifier and Type | Field and Description |
|---|---|
static HashMap<String,String[]> |
statusChangeMap |
static HashMap<String,String> |
statusEndpoint
Maps the provided status to the REST-API endpoint to change the status!
|
actualState, cmd, desiredState, transitState| Constructor and Description |
|---|
UpdateAPIStatus(API desiredState,
API actualState) |
UpdateAPIStatus(API desiredState,
API actualState,
String intent) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
execute(boolean enforceBreakingChange) |
boolean |
isUpdateVHostRequired() |
com.fasterxml.jackson.databind.JsonNode |
parseResponse(org.apache.http.HttpResponse httpResponse) |
void |
updateRetirementDate(APIChangeState changeState) |
initActualAPIContextpublic void execute()
throws AppException
AppExceptionpublic void execute(boolean enforceBreakingChange)
throws AppException
AppExceptionpublic com.fasterxml.jackson.databind.JsonNode parseResponse(org.apache.http.HttpResponse httpResponse)
throws AppException
parseResponse in interface IResponseParserAppExceptionpublic boolean isUpdateVHostRequired()
public void updateRetirementDate(APIChangeState changeState) throws AppException
AppExceptionCopyright © 2020. All rights reserved.