Modifier and Type | Method and Description |
---|---|
java.util.List<CentraSiteRegistryObject> |
getAliases() |
java.util.Collection<Category> |
getAllSandboxes() |
java.util.Map<Gateway,java.lang.String> |
getFailedUnpublishMessages()
Returns the failed deployment status as key-value pair of (gateway, status message).
|
java.util.List<Gateway> |
getGatewayListForUnpublish()
Fetches all the gateways that are applicable.
|
java.util.Collection<APIPortal> |
getPortalListforUnpublish()
returns the list of already published API-Portals
|
java.lang.String |
getPortalUnpublishStatus() |
int |
getProgress()
Returns number of deployment requests made which highlight the deployment progress.
|
java.util.List<CentraSiteRegistryObject> |
getPublishedAliases() |
GatewaysResponse |
getResponseMessage() |
java.util.List<CentraSiteRegistryObject> |
getSelectedAliases()
Return the selected alias(es) for the native service.
|
java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> |
getSelectedUnPublishAliasList() |
java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> |
getUnPublishAliasList() |
java.lang.String |
getUnpublishReport()
This returns a JSON string which explains the unpublish status.
|
java.lang.String |
getUnublishResultString()
Returns a string which sums up the result of unpublishinig the selected APIs from the Portals.
|
boolean |
hasAtleastOneAccessToken() |
boolean |
isBaseType() |
boolean |
isLCMCompliant() |
boolean |
isPrevious()
Gets whether to execute the previous state of the Action.
|
void |
setAliasListForUnpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> unpublishAliasList) |
void |
setFromBulk(boolean isFromBulk) |
void |
setGatewayListForUnpublish(java.util.List<Gateway> gatewaysForUnpublish)
Sets the collection of gateways for which the selected asset will be deployed.
|
void |
setPrevious(boolean prev)
Sets whether to execute the previous state of the Action.
|
void |
setSelectedAliases(java.util.List<CentraSiteRegistryObject> aliases)
Sets the aliases for the service.
|
void |
setSelectedAliasListForUnpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> selectedUnpublishAliasList) |
void |
setSelectedGatewayListForUnpublish(java.util.List<Gateway> selectedTargetListforUnpublish) |
void |
setSelectedPortalListforUnpublish(java.util.Collection<APIPortal> selectedPortals)
Sets the
Collection of APIPortal objects from which the API(s) must be un-published. |
void |
setVisibleToEveryOne(boolean visibility)
Controls the visibility of the API being published.
|
cancel, doesLoggedInUserHaveSufficientRolesOrPermissions, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getNonApplicableReason, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
void setVisibleToEveryOne(boolean visibility) throws CLLException
visibility
- - true/falseCLLException
- If an error occurs while setting the propertyjava.util.Collection<Category> getAllSandboxes() throws CLLException
CLLException
java.util.List<Gateway> getGatewayListForUnpublish() throws CLLException
List
of active and inactive Gateway
s sorted by nameCLLException
- If an error occurs while fetching the applicable gatewaysvoid setGatewayListForUnpublish(java.util.List<Gateway> gatewaysForUnpublish)
gatewaysForDeployment
- - List
of gateways. Ideally not null/empty.void setSelectedGatewayListForUnpublish(java.util.List<Gateway> selectedTargetListforUnpublish)
java.util.Map<Gateway,java.lang.String> getFailedUnpublishMessages() throws CLLException
Map
having the gateway ids as keys and the failure messages as values.CLLException
- If an error occurs while processing the deployment response messagesint getProgress() throws CLLException
CLLException
- If an error occurred while trying to get the deployment progressjava.util.Collection<APIPortal> getPortalListforUnpublish() throws CLLException
CLLException
void setSelectedPortalListforUnpublish(java.util.Collection<APIPortal> selectedPortals)
Collection
of APIPortal
objects from which the API(s) must be un-published.selectedPortals
- The Collection
of APIPortal
objectsCLLException
- If an error occurs while trying to set the Portalsjava.lang.String getUnpublishReport() throws CLLException
CLLException
- If an error occurs while trying to get the unpublish statusjava.lang.String getUnublishResultString()
String
representation of the unpublish actionvoid setAliasListForUnpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> unpublishAliasList)
boolean isBaseType()
java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> getUnPublishAliasList() throws CLLException
CLLException
java.util.List<CentraSiteRegistryObject> getAliases() throws CLLException
CLLException
java.lang.String getPortalUnpublishStatus() throws java.lang.Exception
java.lang.Exception
boolean isPrevious()
true
if the action is executing the previous state of the current statevoid setPrevious(boolean prev)
prev
- If true
then the action executes the previous state of the current state.void setSelectedAliases(java.util.List<CentraSiteRegistryObject> aliases)
aliases
- The List
of CentraSiteRegistryObject
aliases to setjava.util.List<CentraSiteRegistryObject> getSelectedAliases() throws CLLException
CentraSiteRegistryObject
List
CLLException
void setSelectedAliasListForUnpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> selectedUnpublishAliasList)
java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> getSelectedUnPublishAliasList() throws CLLException
CLLException
void setFromBulk(boolean isFromBulk)
java.util.List<CentraSiteRegistryObject> getPublishedAliases() throws CLLException
CLLException
boolean isLCMCompliant() throws CLLException
CLLException
boolean hasAtleastOneAccessToken() throws CLLException
CLLException
GatewaysResponse getResponseMessage()