Class BaseServiceOutputParameter
- java.lang.Object
-
- com.flowable.serviceregistry.engine.impl.repository.BaseServiceParameter
-
- com.flowable.serviceregistry.engine.impl.repository.BaseServiceOutputParameter
-
- All Implemented Interfaces:
ServiceOutputParameter,ServiceParameter
public class BaseServiceOutputParameter extends BaseServiceParameter implements ServiceOutputParameter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmissingValueConfigprotected java.lang.StringmissingValueDefaultprotected java.lang.StringnullValueConfigprotected java.lang.StringnullValueDefaultprotected java.lang.Stringpath-
Fields inherited from class com.flowable.serviceregistry.engine.impl.repository.BaseServiceParameter
description, displayName, mappingName, name, type
-
Fields inherited from interface com.flowable.serviceregistry.api.repository.ServiceOutputParameter
MISSING_VALUE_CONFIG_IGNORE, MISSING_VALUE_CONFIG_SET_TO_DEFAULT, MISSING_VALUE_CONFIG_SET_TO_NULL, MISSING_VALUE_CONFIG_THROW_EXCEPTION, NULL_VALUE_CONFIG_REMOVE, NULL_VALUE_CONFIG_SET_TO_DEFAULT, NULL_VALUE_CONFIG_SET_TO_NULL, NULL_VALUE_CONFIG_THROW_EXCEPTION
-
-
Constructor Summary
Constructors Constructor Description BaseServiceOutputParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMissingValueConfig()Returns the configuration on how to handle a missing value returned by the service invocation by this parameter.java.lang.StringgetMissingValueDefault()If the null value config returned byServiceOutputParameter.getMissingValueConfig()is set toServiceOutputParameter.MISSING_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).java.lang.StringgetNullValueConfig()Returns the configuration on how to handle a null value returned by the service invocation by this parameter.java.lang.StringgetNullValueDefault()If the null value config returned byServiceOutputParameter.getNullValueConfig()is set toServiceOutputParameter.NULL_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).java.lang.StringgetPath()Returns the optional path where the parameter value will be retrieved out of the returned service invocation result.voidsetMissingValueConfig(java.lang.String missingValueConfig)voidsetMissingValueDefault(java.lang.String missingValueDefault)voidsetNullValueConfig(java.lang.String nullValueConfig)voidsetNullValueDefault(java.lang.String nullValueDefault)voidsetPath(java.lang.String path)-
Methods inherited from class com.flowable.serviceregistry.engine.impl.repository.BaseServiceParameter
getDescription, getDisplayName, getMappingName, getName, getType, setDescription, setDisplayName, setMappingName, setName, setType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.flowable.serviceregistry.api.repository.ServiceParameter
getDescription, getDisplayName, getMappingName, getName, getType
-
-
-
-
Field Detail
-
path
protected java.lang.String path
-
nullValueConfig
protected java.lang.String nullValueConfig
-
missingValueConfig
protected java.lang.String missingValueConfig
-
nullValueDefault
protected java.lang.String nullValueDefault
-
missingValueDefault
protected java.lang.String missingValueDefault
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Description copied from interface:ServiceOutputParameterReturns the optional path where the parameter value will be retrieved out of the returned service invocation result.- Specified by:
getPathin interfaceServiceOutputParameter- Returns:
- the optional path for the result value
-
setPath
public void setPath(java.lang.String path)
-
getNullValueConfig
public java.lang.String getNullValueConfig()
Description copied from interface:ServiceOutputParameterReturns the configuration on how to handle a null value returned by the service invocation by this parameter. Might be 'remove', 'setToDefault', 'setToNull' or 'throwException' (see constant definition documentation for details).- Specified by:
getNullValueConfigin interfaceServiceOutputParameter- Returns:
- the configuration on how to handle a null value as the output for this parameter
-
setNullValueConfig
public void setNullValueConfig(java.lang.String nullValueConfig)
-
getMissingValueConfig
public java.lang.String getMissingValueConfig()
Description copied from interface:ServiceOutputParameterReturns the configuration on how to handle a missing value returned by the service invocation by this parameter. Might be 'ignore', 'setToDefault', 'setToNull' or 'throwException' (see constant definition documentation for details).- Specified by:
getMissingValueConfigin interfaceServiceOutputParameter- Returns:
- the configuration on how to handle a missing value as the output for this parameter
-
setMissingValueConfig
public void setMissingValueConfig(java.lang.String missingValueConfig)
-
getNullValueDefault
public java.lang.String getNullValueDefault()
Description copied from interface:ServiceOutputParameterIf the null value config returned byServiceOutputParameter.getNullValueConfig()is set toServiceOutputParameter.NULL_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).- Specified by:
getNullValueDefaultin interfaceServiceOutputParameter- Returns:
- the optional default value to be used if the null value config is actually set to default
-
setNullValueDefault
public void setNullValueDefault(java.lang.String nullValueDefault)
-
getMissingValueDefault
public java.lang.String getMissingValueDefault()
Description copied from interface:ServiceOutputParameterIf the null value config returned byServiceOutputParameter.getMissingValueConfig()is set toServiceOutputParameter.MISSING_VALUE_CONFIG_SET_TO_DEFAULT, this method returns the default value to be returned instead of null (might be an expression or any value converted into the target parameter type).- Specified by:
getMissingValueDefaultin interfaceServiceOutputParameter- Returns:
- the optional default value to be used if the missing value config is actually set to default
-
setMissingValueDefault
public void setMissingValueDefault(java.lang.String missingValueDefault)
-
-