Package com.norconex.commons.lang

# Class SystemUtil.Captured<T>

java.lang.Object
com.norconex.commons.lang.SystemUtil.Captured<T>

Type Parameters:
  `T` - the type of the return value for `SystemUtil.callAndCaptureOutput(Callable)` or `Void` for `SystemUtil.runAndCaptureOutput(Runnable)`

Enclosing class:
  SystemUtil

public static class SystemUtil.Captured<T> extends Object
Holds possible return value and standard output/error when invoking `SystemUtil.callAndCaptureOutput(Callable)` or `SystemUtil.runAndCaptureOutput(Runnable)`.

Since:
  3.0.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Captured()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `T`
  `getReturnValue()`
  `String`
  `getStdErr()`
  `String`
  `getStdOut()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Captured

    public Captured()

- ## Method Details

  - ### getReturnValue

    public T getReturnValue()

  - ### getStdOut

    public String getStdOut()

  - ### getStdErr

    public String getStdErr()

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`