Class IdAFormatterPretty
java.lang.Object
com.io7m.idstore.shell.admin.internal.formatting.IdAFormatterPretty
-
Constructor Summary
ConstructorsConstructorDescriptionIdAFormatterPretty(org.jline.terminal.Terminal inTerminal) A pretty formatter. -
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> history) Format a history.voidformatUser(IdUser user) Format a user.voidformatUsers(IdPage<IdUserSummary> page) Format a page of users.toString()
-
Constructor Details
-
IdAFormatterPretty
public IdAFormatterPretty(org.jline.terminal.Terminal inTerminal) A pretty formatter.- Parameters:
inTerminal- The terminal
-
-
Method Details
-
toString
-
formatAdmin
Description copied from interface:IdAFormatterTypeFormat an admin.- Specified by:
formatAdminin interfaceIdAFormatterType- Parameters:
admin- The admin- Throws:
Exception- On errors
-
formatAdmins
Description copied from interface:IdAFormatterTypeFormat a page of admins.- Specified by:
formatAdminsin interfaceIdAFormatterType- Parameters:
page- The page- Throws:
Exception- On errors
-
formatAudits
Description copied from interface:IdAFormatterTypeFormat a page of audit events.- Specified by:
formatAuditsin interfaceIdAFormatterType- Parameters:
page- The page- Throws:
Exception- On errors
-
formatUsers
Description copied from interface:IdAFormatterTypeFormat a page of users.- Specified by:
formatUsersin interfaceIdAFormatterType- Parameters:
page- The page- Throws:
Exception- On errors
-
formatLoginHistory
Description copied from interface:IdAFormatterTypeFormat a history.- Specified by:
formatLoginHistoryin interfaceIdAFormatterType- Parameters:
history- The history- Throws:
Exception- On errors
-
formatUser
Description copied from interface:IdAFormatterTypeFormat a user.- Specified by:
formatUserin interfaceIdAFormatterType- Parameters:
user- The user- Throws:
Exception- On errors
-