ResourceCollection

Instance class: org.nasdanika.codegen.ResourceCollection

Resource collection adds zero or more resources to the containing resource container.

Supertypes

Subtypes

Members

Attributes

excludes : EString

A list of Ant path patterns specifying resources to exclude from the collection. Each pattern on a new line. Nothing is excluded if this list is empty.

Type EString
Cardinality 0..1

includes : EString

A list of Ant path patterns specifying resources to include into the collection. Each pattern on a new line. All resources are included if the includes list is empty.

Matching rules

  • ? matches one character
  • * matches zero or more characters
  • ** matches zero or more directories in a path
Type EString
Cardinality 0..1

interpolationExcludes : EString

A list of Ant path patterns specifying which resources shall be excluded from interpolation. Each pattern on a new line.

Type EString
Cardinality 0..1

interpolationIncludes : EString

A list of Ant path patterns specifying which included resources shall be interpolated. Each pattern on a new line. E.g. if includes contains *.bin and *.txt and interpolationIncludes contains *.txt then only text files will be interpolated. Unlike includes, if this list is empty then nothing gets interpolated.

Type EString
Cardinality 0..1

path : EString

Path in the underlying container to use as a source of collection elements. Path prefix is removed from element name. E.g. if path is images and there is a resource named images/logo.png then there will be a collection element logo.png.

Type EString
Cardinality 0..1

prefix : EString

Prefix to add to resource paths. E.g. if the prefix is gen_ then logo.png will be added to the resource container as gen_logo.png.

Type EString
Cardinality 0..1

reconcileAction : ReconcileAction

Action to take if resources (entities) contributed by the collection already exist in the container.

Type ReconcileAction
Cardinality 0..1