public interface TargetDescriptor
Modifier and Type | Method and Description |
---|---|
ScriptTargetOutput |
getScriptTargetOutput()
If
getTargetTypes() includes scripts, return a representation
of the script file to write to. |
EnumSet<TargetType> |
getTargetTypes()
The target type described here.
|
EnumSet<TargetType> getTargetTypes()
ScriptTargetOutput getScriptTargetOutput()
getTargetTypes()
includes scripts, return a representation
of the script file to write to. Otherwise, returns null
.
While it is ultimately up to the actual tooling provider, it is generally an error
for getTargetTypes()
to indicate that scripts are a target and for this
method to return null
.Copyright © 2020 JBoss by Red Hat. All rights reserved.