Class: coder.ExternalDependency
Package: coder
Determine if build context supports external dependency
tf = coder.ExternalDependency.isSupportedContext(bldcfg)
returns
true (1) if you can use the external dependency in the current build context . You must provide this method in the class
definition for a class that derives from tf
= coder.ExternalDependency.isSupportedContext(bldcfg
)coder.ExternalDependency
.
If you cannot use the external dependency in the current build context, display an error message and stop code generation.
The error message must describe why you cannot use the external dependency
in this build context. If the method returns false (0), the code generator
uses a default error message. The default error message uses the name
returned by the getDescriptiveName
method of the coder.ExternalDependency
class.
Use coder.BuildConfig
methods to determine
if you can use the external dependency in the current build context.
|
|
|
Value is true (1) if the build context supports the external dependency. |