public class APIPackageResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
APIPackageResponse.APIPublishInfo
Abstracts each API information in response
|
static class |
APIPackageResponse.ExecutionStatus
This indicates the status of publish/unpublish execution
|
static class |
APIPackageResponse.PortalPublishInfo
Maintains Portal and it's correcting APIs
|
Constructor and Description |
---|
APIPackageResponse() |
Modifier and Type | Method and Description |
---|---|
int |
getPendingCount()
Gets the number of APIs pending to be processed.
|
java.util.ArrayList<APIPackageResponse.PortalPublishInfo> |
getPortalInfo()
Gets the Publish information for a portal
|
int |
getProcessedCount()
Gets the number of APIs processed
|
APIPackageResponse.ExecutionStatus |
getStatus()
Gets the execution status
|
void |
setPendingCount(int pendingCount)
Sets the number of APIs pending to be processed.
|
void |
setPortalInfo(java.util.ArrayList<APIPackageResponse.PortalPublishInfo> portalInfo)
Sets the Publish information for a portal
|
void |
setProcessedCount(int processedCount)
Sets the number of APIs processed
|
void |
setStatus(APIPackageResponse.ExecutionStatus status)
Sets the execution status
|
public int getProcessedCount()
public void setProcessedCount(int processedCount)
processedCount
- The number of APIs processedpublic int getPendingCount()
public void setPendingCount(int pendingCount)
pendingCount
- The number of APIs pending to be processedpublic APIPackageResponse.ExecutionStatus getStatus()
APIPackageResponse.ExecutionStatus
public void setStatus(APIPackageResponse.ExecutionStatus status)
status
- The APIPackageResponse.ExecutionStatus
public java.util.ArrayList<APIPackageResponse.PortalPublishInfo> getPortalInfo()
public void setPortalInfo(java.util.ArrayList<APIPackageResponse.PortalPublishInfo> portalInfo)
portalInfo
- The API Publish information for an API-Portal