public abstract class APIResultHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
APIResultHandler.APIListImpl |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
APIResultHandler(APIExportParams params) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
askYesNo(String question) |
protected static boolean |
askYesNo(String question,
String positive,
String negative) |
static APIResultHandler |
create(APIResultHandler.APIListImpl exportImpl,
APIExportParams params) |
abstract void |
execute(List<API> apis) |
protected static String |
getBackendPath(API api) |
protected APIFilter.Builder |
getBaseAPIFilterBuilder() |
protected static String |
getCustomProps(API api) |
abstract APIFilter |
getFilter() |
protected static List<String> |
getGrantedOrganizations(API api) |
protected static String |
getTags(API api) |
protected static Map<APIManagerPoliciesAdapter.PolicyType,List<String>> |
getUsedPolicies(API api) |
protected static List<String> |
getUsedPolicies(API api,
APIManagerPoliciesAdapter.PolicyType type) |
protected static String |
getUsedSecurity(API api) |
boolean |
hasError() |
public APIResultHandler(APIExportParams params)
public static APIResultHandler create(APIResultHandler.APIListImpl exportImpl, APIExportParams params) throws AppException
AppExceptionpublic abstract void execute(List<API> apis) throws AppException
AppExceptionpublic boolean hasError()
public abstract APIFilter getFilter()
protected APIFilter.Builder getBaseAPIFilterBuilder()
protected static boolean askYesNo(String question)
protected static List<String> getUsedPolicies(API api, APIManagerPoliciesAdapter.PolicyType type)
protected static Map<APIManagerPoliciesAdapter.PolicyType,List<String>> getUsedPolicies(API api)
Copyright © 2020. All rights reserved.