Class NullSafeFunction<F,T>
java.lang.Object
org.jenkinsci.plugins.github.util.misc.NullSafeFunction<F,T>
- All Implemented Interfaces:
com.google.common.base.Function<F,,T> Function<F,T>
- Direct Known Subclasses:
GitHubLoginFunction
public abstract class NullSafeFunction<F,T>
extends Object
implements com.google.common.base.Function<F,T>
This abstract class calls
applyNullSafe(Object) only after success validation of inner object for null- Author:
- lanwen (Merkushev Kirill)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TapplyNullSafe(F input) This method will be called inside ofapply(Object)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals