Search in sources :

Example 1 with LongRestVariableConverter

use of org.activiti.rest.service.api.engine.variable.LongRestVariableConverter in project Activiti by Activiti.

the class RestResponseFactory method initializeVariableConverters.

/**
   * Called once when the converters need to be initialized. Override of custom conversion
   * needs to be done between java and rest.
   */
protected void initializeVariableConverters() {
    variableConverters.add(new StringRestVariableConverter());
    variableConverters.add(new IntegerRestVariableConverter());
    variableConverters.add(new LongRestVariableConverter());
    variableConverters.add(new ShortRestVariableConverter());
    variableConverters.add(new DoubleRestVariableConverter());
    variableConverters.add(new BooleanRestVariableConverter());
    variableConverters.add(new DateRestVariableConverter());
}
Also used : ShortRestVariableConverter(org.activiti.rest.service.api.engine.variable.ShortRestVariableConverter) BooleanRestVariableConverter(org.activiti.rest.service.api.engine.variable.BooleanRestVariableConverter) LongRestVariableConverter(org.activiti.rest.service.api.engine.variable.LongRestVariableConverter) StringRestVariableConverter(org.activiti.rest.service.api.engine.variable.StringRestVariableConverter) DoubleRestVariableConverter(org.activiti.rest.service.api.engine.variable.DoubleRestVariableConverter) IntegerRestVariableConverter(org.activiti.rest.service.api.engine.variable.IntegerRestVariableConverter) DateRestVariableConverter(org.activiti.rest.service.api.engine.variable.DateRestVariableConverter)

Aggregations

BooleanRestVariableConverter (org.activiti.rest.service.api.engine.variable.BooleanRestVariableConverter)1 DateRestVariableConverter (org.activiti.rest.service.api.engine.variable.DateRestVariableConverter)1 DoubleRestVariableConverter (org.activiti.rest.service.api.engine.variable.DoubleRestVariableConverter)1 IntegerRestVariableConverter (org.activiti.rest.service.api.engine.variable.IntegerRestVariableConverter)1 LongRestVariableConverter (org.activiti.rest.service.api.engine.variable.LongRestVariableConverter)1 ShortRestVariableConverter (org.activiti.rest.service.api.engine.variable.ShortRestVariableConverter)1 StringRestVariableConverter (org.activiti.rest.service.api.engine.variable.StringRestVariableConverter)1