Example #1
0
  /**
   * resolve the RuntimeVariable (e.g. $curtime). then see if some more work has to be done (e.g.
   * $curtime._repos_id)
   */
  public EvaluationResult extractFromMessage(
      EvaluationResult evaluationResult,
      ComponentName componentName,
      RuntimeVariable runtimeVariable)
      throws EvaluationException {
    ETCLComponentName _componentName = (ETCLComponentName) componentName;

    if (_componentName.right() != null) {
      return extractFromAny(
          _componentName.right(), evaluationResult.getAny(), runtimeVariable.toString());
    }

    return evaluationResult;
  }
Example #2
0
  /** fetch the values denoted by the provided ComponentName out of the Message. */
  public EvaluationResult extractFromMessage(AbstractMessage message, ComponentName componentName)
      throws EvaluationException {
    ETCLComponentName _componentName = (ETCLComponentName) componentName;

    return extractFromAny(_componentName.left(), message.toAny(), _componentName.toString());
  }