ReconcileAction

Instance class: org.nasdanika.codegen.ReconcileAction

Defines an action to take if project/resource with a given name already exists in the workspace.

Literals

Keep

Discard the generated content and keep the original or skip the generation step altogether.

Append

Append the new content to the existing. For containers (directories) it means adding new resources next to the existing, which is semantically equivalent to merging.

Merge

Merge new and existing content, typically using a merger service for files. For projects and directories merge is equivalent to append.

Overwrite

Replace existing content with the new one. For containers (directories) it means deleting container elements before generation.

Cancel

Throw OperationCancelledException if resource/project already exists.

Uses

  • Resource - Generates a resource - file or container.
  • ResourceCollection - Resource collection adds zero or more resources to the containing resource container.