- java.lang.Object
-
- org.kordamp.jarviz.core.internal.AbstractCommand<BytecodeShowCommand.Configuration>
-
- org.kordamp.jarviz.commands.BytecodeShowCommand
-
public class BytecodeShowCommand extends AbstractCommand<BytecodeShowCommand.Configuration>
- Since:
- 0.3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBytecodeShowCommand.Configuration
-
Field Summary
-
Fields inherited from class org.kordamp.jarviz.core.internal.AbstractCommand
EMPTY, INDENT, SPACE
-
-
Constructor Summary
Constructors Constructor Description BytecodeShowCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidbuildReport(BytecodeShowCommand.Configuration configuration, Format format, Node root, JarProcessor.JarFileResult<BytecodeVersions> result)static BytecodeShowCommand.Configurationconfig()intexecute(BytecodeShowCommand.Configuration configuration)private voidoutput(BytecodeShowCommand.Configuration configuration, java.util.Set<JarProcessor.JarFileResult<BytecodeVersions>> results)private voidoutput(BytecodeShowCommand.Configuration configuration, JarProcessor.JarFileResult<BytecodeVersions> result)private voidprintUnversioned(BytecodeShowCommand.Configuration configuration, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> unversionedClasses, BytecodeVersion bytecodeVersion)private voidprintVersioned(BytecodeShowCommand.Configuration configuration, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> versionedClasses, java.lang.Integer javaVersion, BytecodeVersion bytecodeVersion)private voidreport(BytecodeShowCommand.Configuration configuration, java.util.Set<JarProcessor.JarFileResult<BytecodeVersions>> results)private voidreportUnversioned(BytecodeShowCommand.Configuration configuration, Node resultNode, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> unversionedClasses, BytecodeVersion bytecodeVersion)private voidreportVersioned(BytecodeShowCommand.Configuration configuration, Node resultNode, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> versionedClasses, java.lang.Integer javaVersion, BytecodeVersion bytecodeVersion)-
Methods inherited from class org.kordamp.jarviz.core.internal.AbstractCommand
$$, $b, appendSubject, createJarFileResolver, createRootNode, resolveCacheDirectory, resolveFormatter, resolveReportPath, writeOutput, writeReport
-
-
-
-
Method Detail
-
config
public static BytecodeShowCommand.Configuration config()
-
execute
public int execute(BytecodeShowCommand.Configuration configuration)
- Specified by:
executein classAbstractCommand<BytecodeShowCommand.Configuration>
-
output
private void output(BytecodeShowCommand.Configuration configuration, java.util.Set<JarProcessor.JarFileResult<BytecodeVersions>> results)
-
output
private void output(BytecodeShowCommand.Configuration configuration, JarProcessor.JarFileResult<BytecodeVersions> result)
-
printUnversioned
private void printUnversioned(BytecodeShowCommand.Configuration configuration, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> unversionedClasses, BytecodeVersion bytecodeVersion)
-
printVersioned
private void printVersioned(BytecodeShowCommand.Configuration configuration, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> versionedClasses, java.lang.Integer javaVersion, BytecodeVersion bytecodeVersion)
-
report
private void report(BytecodeShowCommand.Configuration configuration, java.util.Set<JarProcessor.JarFileResult<BytecodeVersions>> results)
-
buildReport
private void buildReport(BytecodeShowCommand.Configuration configuration, Format format, Node root, JarProcessor.JarFileResult<BytecodeVersions> result)
-
reportUnversioned
private void reportUnversioned(BytecodeShowCommand.Configuration configuration, Node resultNode, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> unversionedClasses, BytecodeVersion bytecodeVersion)
-
reportVersioned
private void reportVersioned(BytecodeShowCommand.Configuration configuration, Node resultNode, java.util.Map<BytecodeVersion,java.util.List<java.lang.String>> versionedClasses, java.lang.Integer javaVersion, BytecodeVersion bytecodeVersion)
-
-