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 APIFilter.Builder |
getBaseAPIFilterBuilder() |
abstract APIFilter |
getFilter() |
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)
Copyright © 2020. All rights reserved.