Class PluginTaskUpdater

java.lang.Object
com.xebialabs.xlrelease.domain.tasks.task.DefaultTaskUpdater
com.xebialabs.xlrelease.domain.tasks.plugin.PluginTaskUpdater
All Implemented Interfaces:
TaskUpdater

@Component public class PluginTaskUpdater extends DefaultTaskUpdater
Merges a PluginTaskConfiguration's input/output properties from an incoming REST update into the persisted task, mirroring CustomScriptTaskUpdater's handling of PythonScript.

Without this, DefaultTaskUpdater (the fallback for any task type with no registered updater) never touches PluginTask.getConfiguration() at all - a release author's edits to a plugin task's input properties (or its output properties, e.g. from an "edit and rerun" flow) would be silently dropped by the standard update-task REST endpoint, surfacing only as "the value I typed didn't stick" with no error.