code: public void submitContextAndTaskString(final String evaluatorConfigurationString,
                                           final String contextConfigurationString,
                                           final String taskConfigurationString) {
  
      final DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
      LOG.log(Level.FINE, "AllocatedEvaluatorBridge:submitContextAndTaskString for evaluator id: {0}, time: {1}.",
          new Object[] {evaluatorId, dateFormat.format(new Date())});
  
      if (evaluatorConfigurationString.isEmpty()) {
        throw new RuntimeException("empty evaluatorConfigurationString provided.");
      }
      if (contextConfigurationString.isEmpty()) {
        throw new RuntimeException("empty contextConfigurationString provided.");
      }
      if (taskConfigurationString.isEmpty()) {
        throw new RuntimeException("empty taskConfigurationString provided.");
      }
      //When submit over the bridge, we would keep the task configurations as a serialized strings.
      //submitContextAndTask(final String contextConfiguration,
      //final String taskConfiguration) is not exposed in the interface. Therefore cast is necessary.
      ((AllocatedEvaluatorImpl)jallocatedEvaluator)
          .submitContextAndTask(evaluatorConfigurationString, contextConfigurationString, taskConfigurationString);
    }
docs: Bridge function for REEF .NET to submit context and task configurations for the allocated evaluator.
  @param evaluatorConfigurationString the evaluator configuration from .NET.
  @param contextConfigurationString the context configuration from .NET.
  @param taskConfigurationString the task configuration from .NET.