ExternalConstant
data class ExternalConstant(val propertyName: String, val implementationModule: ModuleReference, val subPackageName: String? = null) : ArgumentValueConfig, Serializable
Generated code will result in providing an external imported constant value as argument value.
Parameters
propertyName
The name of the property that will be imported.
implementationModule
The module that contains the property that will be imported.
The package name of the class is obtained from this ModuleReference. If the class resides in a sub package within this module, the sub package can be provided through subPackageName. This subPackageName is appended to the package name of the module, with a period in between.
subPackageName
Optional sub package. If not null
, this value is appended to the ModuleReference.packageName of the implementationModule property with a period in between.
Constructors
Link copied to clipboard
constructor(propertyName: String, implementationModule: ModuleReference, subPackageName: String? = null)