Class IdAFormatterRaw
java.lang.Object
com.io7m.idstore.shell.admin.internal.formatting.IdAFormatterRaw
- All Implemented Interfaces:
IdAFormatterType
A raw formatter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidformatAdmin(IdAdmin admin) Format an admin.voidformatAdmins(IdPage<IdAdminSummary> page) Format a page of admins.voidformatAudits(IdPage<IdAuditEvent> page) Format a page of audit events.voidformatLoginHistory(List<IdLogin> histories) Format a history.voidformatUser(IdUser user) Format a user.voidformatUsers(IdPage<IdUserSummary> page) Format a page of users.toString()
-
Constructor Details
-
IdAFormatterRaw
public IdAFormatterRaw(org.jline.terminal.Terminal inTerminal) A raw formatter.- Parameters:
inTerminal- The terminal
-
-
Method Details
-
toString
-
formatAdmin
Description copied from interface:IdAFormatterTypeFormat an admin.- Specified by:
formatAdminin interfaceIdAFormatterType- Parameters:
admin- The admin
-
formatAdmins
Description copied from interface:IdAFormatterTypeFormat a page of admins.- Specified by:
formatAdminsin interfaceIdAFormatterType- Parameters:
page- The page
-
formatAudits
Description copied from interface:IdAFormatterTypeFormat a page of audit events.- Specified by:
formatAuditsin interfaceIdAFormatterType- Parameters:
page- The page
-
formatUsers
Description copied from interface:IdAFormatterTypeFormat a page of users.- Specified by:
formatUsersin interfaceIdAFormatterType- Parameters:
page- The page
-
formatLoginHistory
Description copied from interface:IdAFormatterTypeFormat a history.- Specified by:
formatLoginHistoryin interfaceIdAFormatterType- Parameters:
histories- The history
-
formatUser
Description copied from interface:IdAFormatterTypeFormat a user.- Specified by:
formatUserin interfaceIdAFormatterType- Parameters:
user- The user
-