Class CAFormatterRaw
java.lang.Object
com.io7m.cardant.shell.internal.formatting.CAFormatterRaw
- All Implemented Interfaces:
CAFormatterType
A raw formatter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidformatAuditPage(CAPage<CAAuditEvent> page) Format a page of audit events.voidformatBookmarks(List<CAPreferenceServerBookmark> bookmarks) Format a list of bookmarks.voidformatFile(CAFileType file) Format a file.voidFormat a page of file summaries.voidformatItem(CAItem item) Format an item.voidformatItemsPage(CAPage<CAItemSummary> items) Format a page of item summaries.voidformatLocation(CALocation location) Format a location.voidformatRoles(Set<com.io7m.medrina.api.MRoleName> roles) Format a list of roles.voidFormat a type declaration.voidFormat a page of types.voidformatTypesScalar(Set<CATypeScalarType> types) Format a set of scalar types.voidFormat a page of scalar types.toString()
-
Constructor Details
-
CAFormatterRaw
public CAFormatterRaw(org.jline.terminal.Terminal inTerminal) A raw formatter.- Parameters:
inTerminal- The terminal
-
-
Method Details
-
formatFile
Description copied from interface:CAFormatterTypeFormat a file.- Specified by:
formatFilein interfaceCAFormatterType- Parameters:
file- the file
-
formatFilesPage
Description copied from interface:CAFormatterTypeFormat a page of file summaries.- Specified by:
formatFilesPagein interfaceCAFormatterType- Parameters:
files- The page
-
formatItem
Description copied from interface:CAFormatterTypeFormat an item.- Specified by:
formatItemin interfaceCAFormatterType- Parameters:
item- The item
-
formatItemsPage
Description copied from interface:CAFormatterTypeFormat a page of item summaries.- Specified by:
formatItemsPagein interfaceCAFormatterType- Parameters:
items- The items
-
formatBookmarks
Description copied from interface:CAFormatterTypeFormat a list of bookmarks.- Specified by:
formatBookmarksin interfaceCAFormatterType- Parameters:
bookmarks- The bookmarks
-
formatRoles
Description copied from interface:CAFormatterTypeFormat a list of roles.- Specified by:
formatRolesin interfaceCAFormatterType- Parameters:
roles- The roles
-
formatTypesScalar
Description copied from interface:CAFormatterTypeFormat a set of scalar types.- Specified by:
formatTypesScalarin interfaceCAFormatterType- Parameters:
types- The types
-
formatTypesScalarPage
Description copied from interface:CAFormatterTypeFormat a page of scalar types.- Specified by:
formatTypesScalarPagein interfaceCAFormatterType- Parameters:
types- The types
-
formatTypeDeclaration
Description copied from interface:CAFormatterTypeFormat a type declaration.- Specified by:
formatTypeDeclarationin interfaceCAFormatterType- Parameters:
type- The type
-
formatTypeDeclarationPage
Description copied from interface:CAFormatterTypeFormat a page of types.- Specified by:
formatTypeDeclarationPagein interfaceCAFormatterType- Parameters:
types- The types
-
formatLocation
Description copied from interface:CAFormatterTypeFormat a location.- Specified by:
formatLocationin interfaceCAFormatterType- Parameters:
location- The location
-
formatAuditPage
Description copied from interface:CAFormatterTypeFormat a page of audit events.- Specified by:
formatAuditPagein interfaceCAFormatterType- Parameters:
page- The page
-
toString
-