Class ValueWrapper
java.lang.Object
com.flowable.serviceregistry.engine.impl.invoker.result.ValueWrapper
Helper class used when processing the raw output of a service invocation using the configuration of a service definition model.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected static final ValueWrapper
protected static final ValueWrapper
protected final ValueWrapper.ValuePresence
protected final Object
-
Constructor Summary
ConstructorsConstructorDescriptionValueWrapper
(ValueWrapper.ValuePresence presence, Object value) ValueWrapper
(ValueWrapper.ValuePresence presence, Object value, boolean collection) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
boolean
boolean
boolean
isNull()
boolean
protected static ValueWrapper
missing()
protected static ValueWrapper
ofListValue
(Object value) protected static ValueWrapper
ofNullable
(Object value)
-
Field Details
-
MISSING
-
NULL
-
presence
-
value
-
collection
protected boolean collection
-
-
Constructor Details
-
ValueWrapper
-
ValueWrapper
-
-
Method Details
-
getPresence
-
isPresent
public boolean isPresent() -
isMissing
public boolean isMissing() -
isNull
public boolean isNull() -
getValue
-
isCollection
public boolean isCollection() -
ofNullable
-
ofListValue
-
missing
-