public static class ValueProvider.RuntimeValueProvider<T> extends java.lang.Object implements ValueProvider<T>, java.io.Serializable
ValueProvider.RuntimeValueProvider is an implementation of ValueProvider that
allows for a value to be provided at execution time rather than at graph
construction time.
To enforce this contract, if there is no default, users must only call
get() at execution time (after a call to Pipeline.run()),
which will provide the value of optionsMap.
ValueProvider.Deserializer, ValueProvider.NestedValueProvider<T,X>, ValueProvider.RuntimeValueProvider<T>, ValueProvider.Serializer, ValueProvider.StaticValueProvider<T>| Modifier and Type | Method and Description |
|---|---|
T |
get()
Return the value wrapped by this
ValueProvider. |
boolean |
isAccessible()
Whether the contents of this
ValueProvider is available to
routines that run at graph construction time. |
java.lang.String |
propertyName()
Returns the property name that corresponds to this provider.
|
java.lang.String |
toString() |
public T get()
ValueProviderValueProvider.get in interface ValueProvider<T>public boolean isAccessible()
ValueProviderValueProvider is available to
routines that run at graph construction time.isAccessible in interface ValueProvider<T>public java.lang.String propertyName()
public java.lang.String toString()
toString in class java.lang.Object