Class RemoteResultWrapper<T extends Serializable>

java.lang.Object
edu.hm.hafner.util.FilteredLog
io.jenkins.plugins.util.RemoteResultWrapper<T>
Type Parameters:
T - the type of the result
All Implemented Interfaces:
Serializable

public class RemoteResultWrapper<T extends Serializable> extends edu.hm.hafner.util.FilteredLog
A serializable result combined with a logger. Enables remote calls to return a result and a corresponding log.
Author:
Ullrich Hafner
See Also:
  • Constructor Details

    • RemoteResultWrapper

      public RemoteResultWrapper(T result, String title)
      Creates a new instance of RemoteResultWrapper.
      Parameters:
      result - the wrapped result
      title - the title of the error messages
  • Method Details

    • getResult

      public T getResult()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class edu.hm.hafner.util.FilteredLog
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class edu.hm.hafner.util.FilteredLog