public class RecreateToUpdateAPI extends Object
APIImportManager.applyChanges(APIChangeState) to re-create an API.
It's called, when an existing API is found, by at least one changed property can't be applied to the existing
API.
In that case, the desired API must be re-imported, completely updated (proxy, image, Quota, etc.),
actual subscription must be taken over. It basically performs the same steps as when creating a new API, but
having this separated in this class simplifies the code.| Constructor and Description |
|---|
RecreateToUpdateAPI() |
public void execute(APIChangeState changes) throws AppException
AppExceptionCopyright © 2020. All rights reserved.