public abstract class CatalogCommands extends SubjectCommands
org.apache.karaf.shell.console.OsgiCommandSupport and SubjectCommands that Catalog Commands can use.| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext |
protected CatalogFramework |
catalogFramework |
protected CatalogProvider |
catalogProvider |
static org.joda.time.format.DateTimeFormatter |
DATETIME_FORMATTER |
protected static int |
DEFAULT_NUMBER_OF_ITEMS |
protected static String |
DEFAULT_TRANSFORMER_ID |
protected static String |
ESCAPE |
protected FilterBuilder |
filterBuilder |
protected boolean |
isProvider |
static String |
NAMESPACE |
protected static String |
SERIALIZED_OBJECT_ID |
protected static String |
SINGLE_WILDCARD |
protected static String |
WILDCARD |
session, userconsole, ERROR_COLOR, MS_PER_SECOND| Constructor and Description |
|---|
CatalogCommands() |
| Modifier and Type | Method and Description |
|---|---|
protected SolrCacheMBean |
getCacheProxy() |
protected CatalogFacade |
getCatalog() |
protected String |
getFormattedDuration(Duration duration) |
protected String |
getFormattedDuration(Instant start) |
protected <T> Optional<T> |
getServiceByFilter(Class<T> clazz,
String filter) |
execute, executeWithSubjectcalculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessagepublic static final org.joda.time.format.DateTimeFormatter DATETIME_FORMATTER
public static final String NAMESPACE
protected static final int DEFAULT_NUMBER_OF_ITEMS
protected static final String ESCAPE
protected static final String SINGLE_WILDCARD
protected static final String WILDCARD
protected static final String DEFAULT_TRANSFORMER_ID
protected static final String SERIALIZED_OBJECT_ID
protected boolean isProvider
protected CatalogProvider catalogProvider
protected CatalogFramework catalogFramework
protected org.osgi.framework.BundleContext bundleContext
protected FilterBuilder filterBuilder
protected SolrCacheMBean getCacheProxy() throws IOException, MalformedObjectNameException, InstanceNotFoundException
protected CatalogFacade getCatalog() throws InterruptedException
InterruptedExceptionprotected <T> Optional<T> getServiceByFilter(Class<T> clazz, String filter) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.