Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-java

OperationReport

One command a transport finished or failed to finish.

Source and package
Qualified name
io.github.libtmux.transport.OperationReport
Package
io.github.libtmux.transport
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/OperationReport.java

Description

The verbs are the first word of each command. Arguments, standard input, and stdout are not here: they carry session names, socket paths, and whatever a caller typed. #boundedError() is stderr, cut off, and #toString() leaves it out.

Parameters

Members12 members

  • bound method Joins stderr lines and cuts them at #ERROR_LIMIT.
  • boundedError method stderr text, at most #ERROR_LIMIT characters
  • certainty method whether tmux never started, finished, or might have applied the command
  • elapsed method how long the command itself ran after that wait
  • ERROR_LIMIT: int attribute How much stderr text a report keeps.
  • exitCode method the process exit status, empty when the process did not finish
  • id method a counter for this transport, so one call can be told from the next
  • queued method how long the call waited for a free process or writer slot
  • stderrLines method how many stderr lines came back
  • stdoutLines method how many stdout lines came back
  • toString method Counts and timings only. The error text stays on #boundedError().
  • verbs method the commands, without their arguments
Esc
Search in

Type to search.

Reference previewOpen reference