InclusionSpecification

expect class InclusionSpecification(source: String, destination: String? = null, inclusionFilter: String? = null, exclusionFilter: String? = null)

A FileInclusionSpecification is at minimum a source-declaration from which files and directories will be included in the server pack to be generated.

Optionally, the following values can be specified:

  • Destination

  • Inclusion-filter (regex)

  • Exclusion-filter (regex)

  • When a destination is specified, then every file and directory acquired from the source will be copied to the specified destination in the server pack, whereas otherwise the source would be copied to a destination in the server pack matching the name of the source.

  • Inclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will be included.

  • Exclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will NOT be included.

Author

Griefed

actual class InclusionSpecification(var source: String, var destination: String?, var inclusionFilter: String?, var exclusionFilter: String?)

A FileInclusionSpecification is at minimum a source-declaration from which files and directories will be included in the server pack to be generated.

Optionally, the following values can be specified:

  • Destination

  • Inclusion-filter (regex)

  • Exclusion-filter (regex)

  • When a destination is specified, then every file and directory acquired from the source will be copied to the specified destination in the server pack, whereas otherwise the source would be copied to a destination in the server pack matching the name of the source.

  • Inclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will be included.

  • Exclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will NOT be included.

Author

Griefed

Constructors

Link copied to clipboard
expect constructor(source: String, destination: String? = null, inclusionFilter: String? = null, exclusionFilter: String? = null)
actual constructor(source: String, destination: String?, inclusionFilter: String?, exclusionFilter: String?)

Properties

Link copied to clipboard
expect var destination: String?
actual var destination: String?
Link copied to clipboard
expect var exclusionFilter: String?
actual var exclusionFilter: String?
Link copied to clipboard
expect var inclusionFilter: String?
actual var inclusionFilter: String?
Link copied to clipboard
expect var source: String
actual var source: String

Functions

Link copied to clipboard
expect fun asHashMap(): <Error class: unknown class><String, String>
actual fun asHashMap(): <Error class: unknown class><String, String>
Link copied to clipboard
expect fun hasDestination(): Boolean
actual fun hasDestination(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect fun isGlobalFilter(): Boolean
actual fun isGlobalFilter(): Boolean