Package org.codice.ddf.commands.catalog
Class LatestCommand
java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.catalog.SubjectCommands
org.codice.ddf.commands.catalog.CatalogCommands
org.codice.ddf.commands.catalog.LatestCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
-
Field Summary
Fields inherited from class org.codice.ddf.commands.catalog.CatalogCommands
bundleContext, catalogFramework, catalogProvider, DATETIME_FORMATTER, DEFAULT_NUMBER_OF_ITEMS, DEFAULT_TRANSFORMER_ID, ESCAPE, filterBuilder, isProvider, NAMESPACE, SERIALIZED_OBJECT_ID, SINGLE_WILDCARD, WILDCARDFields inherited from class org.codice.ddf.commands.catalog.SubjectCommands
security, session, userFields inherited from class org.codice.ddf.commands.catalog.CommandSupport
console, ERROR_COLOR, MS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectExecutes the command once the user has been properly authorized.Methods inherited from class org.codice.ddf.commands.catalog.CatalogCommands
getCatalog, getFormattedDuration, getFormattedDuration, getServiceByFilterMethods inherited from class org.codice.ddf.commands.catalog.SubjectCommands
executeMethods inherited from class org.codice.ddf.commands.catalog.CommandSupport
calculateRecordsPerSecond, printColor, printErrorMessage, printHeaderMessage, printProgressAndFlush, printSuccessMessage
-
Constructor Details
-
LatestCommand
public LatestCommand()
-
-
Method Details
-
executeWithSubject
Description copied from class:SubjectCommandsExecutes the command once the user has been properly authorized.- Specified by:
executeWithSubjectin classSubjectCommands- Returns:
- result of the command execution
- Throws:
Exception- if the command failed to run
-