Package com.axway.apim.adapter
Class APIStatusManager
- java.lang.Object
-
- com.axway.apim.adapter.APIStatusManager
-
public class APIStatusManager extends Object
-
-
Constructor Summary
Constructors Constructor Description APIStatusManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUpdateVHostRequired()voidupdate(API apiToUpdate, String desiredState)voidupdate(API apiToUpdate, String desiredState, boolean enforceBreakingChange)voidupdate(API apiToUpdate, String desiredState, String vhost)voidupdate(API apiToUpdate, String desiredState, String vhost, boolean enforceBreakingChange)
-
-
-
Constructor Detail
-
APIStatusManager
public APIStatusManager() throws AppException- Throws:
AppException
-
-
Method Detail
-
update
public void update(API apiToUpdate, String desiredState, boolean enforceBreakingChange) throws AppException
- Throws:
AppException
-
update
public void update(API apiToUpdate, String desiredState) throws AppException
- Throws:
AppException
-
update
public void update(API apiToUpdate, String desiredState, String vhost) throws AppException
- Throws:
AppException
-
update
public void update(API apiToUpdate, String desiredState, String vhost, boolean enforceBreakingChange) throws AppException
- Throws:
AppException
-
isUpdateVHostRequired
public boolean isUpdateVHostRequired()
- Returns:
- true, if the API has been set to unpublished and the VHost needs to be updated
-
-