class MsoHeatUtils extends MsoCommonUtils implements VduPlugin {

    public void postProcessStackDelete(Stack stack) throws MsoException {
        logger.info("Performing post processing on delete stack {}", stack);
        if (stack != null && !Strings.isNullOrEmpty(stack.getStackStatus())) {
            if (!DELETE_COMPLETE.equals(stack.getStackStatus()))
                throw new StackRollbackException("Stack Deletion completed with status: " + stack.getStackStatus()
                        + " Status Reason: " + stack.getStackStatusReason());
        } else {
            throw new StackRollbackException("Cannot Find Stack Name or Id");
        }
    }

}