public void submitContextString(final String contextConfigurationString) { if (StringUtils.isEmpty(contextConfigurationString)) { throw new RuntimeException("empty contextConfigurationString provided."); } ((EvaluatorContext) jactiveContext).submitContext(contextConfigurationString); }
public void submitTaskString(final String taskConfigurationString) { if (StringUtils.isEmpty(taskConfigurationString)) { throw new RuntimeException("empty taskConfigurationString provided."); } // when submit over the bridge, we would keep the task configuration as a serialized string // submitTask(String taskConfig) is not exposed in the interface. Therefore cast is necessary. ((EvaluatorContext) jactiveContext).submitTask(taskConfigurationString); }