@Override
 public void populateContextForEdit(
     @NotNull final Map<String, Object> context, @NotNull final TaskDefinition taskDefinition) {
   super.populateContextForEdit(context, taskDefinition);
   taskConfiguratorHelper.populateContextWithConfiguration(
       context, taskDefinition, getFieldsToCopy());
 }
コード例 #2
0
  public void populateContextForEdit(
      final Map<String, Object> context, final TaskDefinition taskDefinition) {
    super.populateContextForEdit(context, taskDefinition);

    context.put("zs_url", taskDefinition.getConfiguration().get("zs_url"));
    context.put("api_key", taskDefinition.getConfiguration().get("api_key"));
    context.put("api_secret", taskDefinition.getConfiguration().get("api_secret"));
    context.put("base_url", taskDefinition.getConfiguration().get("base_url"));
    context.put("app_name", taskDefinition.getConfiguration().get("app_name"));
    context.put("zsversion", taskDefinition.getConfiguration().get("zsversion"));
    context.put("custom_options", taskDefinition.getConfiguration().get("custom_options"));
    context.put("retry", taskDefinition.getConfiguration().get("retry"));
    context.put("waittime", taskDefinition.getConfiguration().get("waittime"));
  }