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:
      title - the title of the error messages
      result - the wrapped result
  • Method Details

    • getResult

      public T getResult()