AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactUpdateValidator Class Referenceabstract

#include <ArtifactUpdateValidator.h>

Inheritance diagram for alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactUpdateValidator:
Inheritance graph
[legend]

Public Member Functions

virtual ~ArtifactUpdateValidator ()=default
 
virtual bool validateUpdate (const std::shared_ptr< commonInterfaces::ArtifactRequest > &request, const std::string &newPath)=0
 

Detailed Description

Used to validate that the new path for the given artifact is good to keep.

Constructor & Destructor Documentation

◆ ~ArtifactUpdateValidator()

virtual alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactUpdateValidator::~ArtifactUpdateValidator ( )
virtualdefault

Member Function Documentation

◆ validateUpdate()

virtual bool alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactUpdateValidator::validateUpdate ( const std::shared_ptr< commonInterfaces::ArtifactRequest > &  request,
const std::string &  newPath 
)
pure virtual

Providing a new path, check to see if the content of the update is valid and usable.

Parameters
newPathof the potential updated artifact.
Returns
true if valid, false otherwise.

Implemented in alexaClientSDK::acsdkAssets::client::GenericInventory.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0