public class DefaultValue<T>
extends Object
Encapsulates the default value configuration for a
Parameter
.
-
Constructor Summary
Constructors
-
Method Summary
boolean
of(T value,
@Nullable String description)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultValue
public DefaultValue(@Nullable
T value,
@Nullable
@Nullable String description)
-
Method Details
-
isDescriptionSet
public boolean isDescriptionSet()
-
of
public static <T> DefaultValue<T> of(@Nullable
T value,
@Nullable
@Nullable String description)