FlexNet Code Insight 6.13.2
The groovy script for your custom scan-phase adapter must define a class that extends the FlexNet Code Insight class ScanPhaseAdapter. Use the following syntax to define the class for the custom scan-phase adapter, where CustomAdaptorClass represents this class name:
workspace.getInternalWorkspace().addScanPhaseListener(new <CustomAdapterClass>(workspace))
static class <CustomAdapterClass> extends ScanPhaseAdapter{
Workspace localWorkspace;
<CustomAdapterClass>(WorkspaceCover workspaceCover) {
localWorkspace = workspaceCover.getInternalWorkspace();
}
<code for custom scan-phase>
}
FlexNet Code Insight 6.13.2 Online Help LibraryAugust 2019 |
Copyright Information | Flexera Software |