Package io.jenkins.plugins.util
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
A serializable result combined with a logger. Enables remote calls to return a result and a corresponding log.
- Author:
- Ullrich Hafner
- See Also:
-
Constructor Summary
ConstructorDescriptionRemoteResultWrapper
(T result, String title) Creates a new instance ofRemoteResultWrapper
. -
Method Summary
Methods inherited from class edu.hm.hafner.util.FilteredLog
getErrorMessages, getInfoMessages, hasErrors, logError, logError, logException, logInfo, logInfo, logSummary, merge, readResolve, size
-
Constructor Details
-
RemoteResultWrapper
Creates a new instance ofRemoteResultWrapper
.- Parameters:
result
- the wrapped resulttitle
- the title of the error messages
-
-
Method Details
-
getResult
-
equals
- Overrides:
equals
in classedu.hm.hafner.util.FilteredLog
-
hashCode
public int hashCode()- Overrides:
hashCode
in classedu.hm.hafner.util.FilteredLog
-