Package dev.equo.solstice.p2
Class ConsoleTable
java.lang.Object
dev.equo.solstice.p2.ConsoleTable
Formats P2Unit for display at the console.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDetermines which format to print the table in. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringambiguousRequirements(P2Query query, ConsoleTable.Format format) Returns a table describing all ambiguous requirements and how they ended up.static Stringdetail(Collection<P2Unit> units, ConsoleTable.Format format) Returns a table with the parsed details of the given units.static StringmavenStatus(Iterable<P2Unit> units, ConsoleTable.Format format) Returns a table with theRepoStatusof all its units.static StringnameAndDescription(Collection<P2Unit> units, ConsoleTable.Format format) Returns a table with the id, name, and description of all its units.static StringoptionalRequirementsNotInstalled(P2Query query, ConsoleTable.Format format) Returns a table describing all optional requirements which were not installed.static Stringrequest(P2Model model, ConsoleTable.Format format) Returns a table with the full content of the given P2Model.static StringunmetRequirements(P2Query query, ConsoleTable.Format format) Returns a table describing all unmet requirements and who they affect.
-
Constructor Details
-
ConsoleTable
public ConsoleTable()
-
-
Method Details
-
request
Returns a table with the full content of the given P2Model. -
mavenStatus
Returns a table with theRepoStatusof all its units. -
nameAndDescription
Returns a table with the id, name, and description of all its units. -
ambiguousRequirements
Returns a table describing all ambiguous requirements and how they ended up. -
unmetRequirements
Returns a table describing all unmet requirements and who they affect. -
optionalRequirementsNotInstalled
Returns a table describing all optional requirements which were not installed. -
detail
Returns a table with the parsed details of the given units.
-