Resource

Instance class: org.nasdanika.codegen.Resource

Generates a resource - file or container.

Supertypes

Subtypes

  • Container - Nameed container of resources, e.g. a folder/directory.
  • File - Generates File for a given content.

Members

Attributes

merger : EString

Context property for a merger if reconcile action is Merge. The property shall be either of type org.nasdanika.codegen.gen.Merger or org.eclipse.emf.common.notify.AdapterFactory. In the latter case the factory shall be for org.nasdanika.codegen.gen.Merger type. Some resource types may have a default merger. E.g. CompilationUnit or Container.

Type EString
Cardinality 0..1

reconcileAction : ReconcileAction

Action to take if resource with given name already exists.

Type ReconcileAction
Cardinality 0..1