Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.externaltools
Interface ExternalToolScanner


public interface ExternalToolScanner

The interface for an object that can scan for external tools.

Since:
10.0.3

Method Summary
 boolean canScan()
          Can this scanner scan in the current environment (e.g.
 ExternalTool[] findTools(java.util.Collection<ExternalTool> existingTools)
          Search for external tools.
 java.lang.String getId()
          Get a unique ID for this scanner.
 

Method Detail

getId

@NotNull
java.lang.String getId()
Get a unique ID for this scanner. This is used to remember whether the scanner has been asked to find tools already.

Returns:
some unique identifier for this scanner. You must not return null from this method.

canScan

boolean canScan()
Can this scanner scan in the current environment (e.g. operating system)?

Returns:
true if this scanner can search for default external tools.

findTools

ExternalTool[] findTools(java.util.Collection<ExternalTool> existingTools)
Search for external tools. Return an array of ExternalTool instances.

Parameters:
existingTools - tools that already exist - may be used to avoid creating duplicates.
Returns:
tools found on this system

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.