t_Metadata_Resources_ResourceRef
ResourceRef
ResourceRefs allow you to include or exclude individual resources by path, name, and extension.
Properties
condition : stringThe property to which the directive is applied.
The property specified here is typically set in the .environment file. It must be prefixed with "-Dnexj" if specified on the JVM command line.- Example
condition="reporting.enabled" ... reporting.enabled="true" or "-Dnexj.reporting.enabled=true"
directive : directiveA conditional directive determining the operation to apply to the property specified in "condition".
If the operation is set to "if" or "ifnot", the property can be null. "ifdef" means "if defined". "ifndef" means "if not defined". If the operation is set to either, the property must not be null.- Example
"if", "ifnot", "ifdef", "ifndef"
Valid values based on“string”. if ifnot ifdef ifndef enabled : booleanThe default state of enablement. (default="true")
merged : booleanresource : resourceThe name of the resource to conditionally load.
The resource name is the full path and extension of the resource to include or exclude based on the condition.- Example
resource="layouts/CurrencyFormatTest.layout"
resource="utests/logger.utest"
resource="channels/reporting/trigger.channel"
Valid values based on“string”.
Parents
t_Metadata_Resources - Resources may be conditionally included or excluded from metadata loading based on command line or environment properties.
Parent topic: t_Metadata_Resources