private void taskProperty ( RESTRequest request , RESTResponse response ) { String taskID = RESTHelper . getRequiredParam ( request , APIConstants . PARAM_TASK_ID ) ; String property = RESTHelper . getRequiredParam ( request , APIConstants . PARAM_PROPERTY ) ; String taskPropertyText = getMultipleRoutingHelper ( ) . getTaskProperty ( taskID , property ) ; OutputHelper . writeTextOutput ( response , taskPropertyText ) ; }
Returns the value of the property . An IllegalArgument exception is thrown if the value is not an instance of java . lang . String .