Class BooleanDataTypeTransformer
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.type.BooleanDataTypeTransformer
-
- All Implemented Interfaces:
DmnDataTypeTransformer
public class BooleanDataTypeTransformer extends java.lang.Object implements DmnDataTypeTransformer
Transform values of typeString
intoBooleanValue
.- Author:
- Philipp Ossler
-
-
Constructor Summary
Constructors Constructor Description BooleanDataTypeTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedValue
transform(java.lang.Object value)
Transform the given value.protected boolean
transformString(java.lang.String value)
-
-
-
Method Detail
-
transform
public TypedValue transform(java.lang.Object value) throws java.lang.IllegalArgumentException
Description copied from interface:DmnDataTypeTransformer
Transform the given value.- Specified by:
transform
in interfaceDmnDataTypeTransformer
- Parameters:
value
- of any type- Returns:
- value of the specific type
- Throws:
java.lang.IllegalArgumentException
- if the value can not be transformed
-
transformString
protected boolean transformString(java.lang.String value)
-
-