Choose a specific instantiation strategy for a computed input to utilize.
Specify a strategy using the match-mode
child key with one of two modes:
match-mode (MostSpecific)
: Use only the instantiation-strategy
with the most specific match pattern. If this strategy fails to return a value, the user will be prompted.match-mode (All)
: All available instantiation strategies will be used.computed-input (notSupported) {
type (Boolean)
compute {
if (true) {
with-strategy {
match-mode (All)
}
}
}
min (Optional) max (One)
validate {
if (exists(notSupported) && notSupported) {
halt {
dialog ("Nope")
}
}
}
}
If a compute
is declared using with-strategy
but no match-mode
is specified, the default is MostSpecific
.
If a Required
computed input with no with-strategy
specified returns no value, it will behave as though it had a with-strategy: match-mode (All)
.
match-mode optional | Specify the matching mode for choosing an instantiation strategy |
Copyright 2025 Samsung All rights reserved