test_class.file: cli/src/test/java/com/github/olivergondza/dumpling/cli/ThreaddumpCommandTest.java
test_class.identifier: ThreaddumpCommandTest
test_class.superclass: extends AbstractCliTest
test_case.body: @Test
      public void porcelain() throws Exception {
          final String log = Util.asFile(Util.resource("jstack/producer-consumer.log")).getAbsolutePath();
  
          run("threaddump", "--in", "threaddump:" + log);
          assertThat(this, succeeded());
          assertThat(out.toString(), containsString("\"blocked_thread\" prio=10 tid=0x2ad39c16b800 nid=32297"));
          assertThat(out.toString(), containsString("- waiting to lock <0x4063a9378> (a hudson.model.Queue)"));
  
          run("threaddump", "--in", "threaddump:" + log, "--porcelain");
          assertThat(this, succeeded());
          assertThat(out.toString(), containsString("\"blocked_thread\" prio=10 tid=0x00002ad39c16b800 nid=0x7e29"));
          assertThat(out.toString(), containsString("- waiting to lock <0x00000004063a9378> (a hudson.model.Queue)"));
      }
test_case.class_method_signature: ThreaddumpCommandTest.porcelain()
test_case.full_signature: @Test public void porcelain()
test_case.identifier: porcelain
test_case.invocations: getAbsolutePath asFile resource run assertThat succeeded assertThat toString containsString assertThat toString containsString run assertThat succeeded assertThat toString containsString assertThat toString containsString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void porcelain()
focal_class.declarator: runtime
focal_class.modifier: @Option(name = "-i", aliases = {"--in"}, usage = "Input for process runtime")
      private
focal_class.original_string: @Option(name = "-i", aliases = {"--in"}, usage = "Input for process runtime")
      private ProcessRuntime<?, ?, ?> runtime;
focal_class.type: ProcessRuntime<?, ?, ?>
focal_class.var_name: runtime
focal_class.declarator: porcelain = false
focal_class.modifier: @Option(name = "-p", aliases = {"--porcelain"}, usage = "Show in a format designed for machine consumption")
      private
focal_class.original_string: @Option(name = "-p", aliases = {"--porcelain"}, usage = "Show in a format designed for machine consumption")
      private boolean porcelain = false;
focal_class.type: boolean
focal_class.var_name: porcelain
focal_class.file: cli/src/main/java/com/github/olivergondza/dumpling/cli/ThreaddumpCommand.java
focal_class.identifier: ThreaddumpCommand
focal_class.interfaces: implements CliCommand
focal_class.class_method_signature: ThreaddumpCommand.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: ThreaddumpCommand.getDescription()
focal_class.full_signature: @Override public String getDescription()
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDescription()
focal_class.class_method_signature: ThreaddumpCommand.run(ProcessStream process)
focal_class.full_signature: @Override public int run(ProcessStream process)
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: (ProcessStream process)
focal_class.return: int
focal_class.signature: int run(ProcessStream process)
focal_method.body: @Override
      public int run(ProcessStream process) throws CmdLineException {
          runtime.toString(process.out(), porcelain ? Mode.MACHINE : Mode.HUMAN);
          return 0;
      }
focal_method.class_method_signature: ThreaddumpCommand.run(ProcessStream process)
focal_method.full_signature: @Override public int run(ProcessStream process)
focal_method.identifier: run
focal_method.invocations: toString out
focal_method.modifiers: @Override public
focal_method.parameters: (ProcessStream process)
focal_method.return: int
focal_method.signature: int run(ProcessStream process)