| org.netbeans.lib.profiler.common.integration.IntegrationProvider2
All known Subclasses: org.netbeans.lib.profiler.common.integration.AbstractIntegrationProvider,
IntegrationProvider2 | public interface IntegrationProvider2 (Code) | | Interface to be implemented by each integration provider.
author: Tomas Hurka author: Jiri Sedlacek since: 2006/04/04 |
Inner Class :public interface AutomaticIntegrationPanelListener | |
Inner Class :abstract public class AutomaticIntegrationPanel extends JPanel | |
Method Summary | |
public String | getAdditionalStepsInstructions(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings) | public AutomaticIntegrationPanel | getAutomaticIntegrationPanel() Gets panel for selecting parameters required for automatic integration. | public int | getIntegrationProviderNumber() | public String | getIntegrationReviewText(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings) | public String | getLastErrorMessage() | public String | getManualIntegrationStepsInstructions(int supportedTarget, String targetOS, String targetJVM, AttachSettings attachSettings) | public int | getSupportedTarget(int supportedTargetIndex) | public int | getSupportedTarget(String supportedTargetName) | public String | getSupportedTargetName(int supportedTarget) | public int | getSupportedTargetsCount() | public String | getSupportedTargetsType() | public boolean | isSingular() | public boolean | performIntegration(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings) | public void | startTarget(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings) | public boolean | supportsAutomaticIntegration(int supportedTarget, String targetOS, AttachSettings attachSettings) | public boolean | supportsJavaPlatform(int supportedTarget, String targetJVM, AttachSettings attachSettings) | public boolean | supportsTargetStartup(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings) |
TARGET_TYPE_APPLET | final public static String TARGET_TYPE_APPLET(Code) | | Integration with Java Applet
|
TARGET_TYPE_APPLICATION | final public static String TARGET_TYPE_APPLICATION(Code) | | Integration with Java Application
|
TARGET_TYPE_DATABASE | final public static String TARGET_TYPE_DATABASE(Code) | | Integration with Database
|
TARGET_TYPE_J2EEAPPLICATION | final public static String TARGET_TYPE_J2EEAPPLICATION(Code) | | Integration with J2EE Web/Application Server
|
getAdditionalStepsInstructions | public String getAdditionalStepsInstructions(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings)(Code) | | Gets the HTML-formatted description of additional steps needed for finishing integration with supported target
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: targetJavaHomePath - JAVA_HOME of target JVM Parameters: selectedOptions - other InteIntegrationProvider2cific parameters (typically configuration files to modify) Parameters: attachSettings - Settings of target configuration HTML-formatted description of additional steps needed for finishing integration with supported target |
getAutomaticIntegrationPanel | public AutomaticIntegrationPanel getAutomaticIntegrationPanel()(Code) | | Gets panel for selecting parameters required for automatic integration.
This method must be implemented by every IntegrationProvider2 which supports automatic integration.
panel for selecting parameters required for automatic integration |
getIntegrationProviderNumber | public int getIntegrationProviderNumber()(Code) | | Returns number used for sorting Targets of the same Target Type
number used for sorting Targets of the same Target Type |
getIntegrationReviewText | public String getIntegrationReviewText(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings)(Code) | | Gets the HTML-formatted summary of integration steps that will be automatically performed
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: targetJavaHomePath - JAVA_HOME of target JVM Parameters: selectedOptions - other InteIntegrationProvider2cific parameters (typically configuration files to modify) Parameters: attachSettings - Settings of target configuration HTML-formatted summary of integration steps that will be automatically performed |
getLastErrorMessage | public String getLastErrorMessage()(Code) | | Gets the textual description of last error
textual description of last error |
getManualIntegrationStepsInstructions | public String getManualIntegrationStepsInstructions(int supportedTarget, String targetOS, String targetJVM, AttachSettings attachSettings)(Code) | | Gets the HTML-formatted description of manual steps needed for integration with supported target
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: attachSettings - Settings of target configuration HTML-formatted description of manual steps needed for integration with supported target |
getSupportedTarget | public int getSupportedTarget(int supportedTargetIndex)(Code) | | Returns supported target (defined by concrete IntegrationProvider2 implementation)
Parameters: supportedTargetIndex - Index of supported target Supported target |
getSupportedTarget | public int getSupportedTarget(String supportedTargetName)(Code) | | Returns supported target
Parameters: supportedTargetName - Name of supported target Supported target |
getSupportedTargetName | public String getSupportedTargetName(int supportedTarget)(Code) | | Returns name of supported target
Parameters: supportedTarget - Supported target Name of supported target |
getSupportedTargetsCount | public int getSupportedTargetsCount()(Code) | | Returns number of targets supported by integration provider
Number of supported targets |
getSupportedTargetsType | public String getSupportedTargetsType()(Code) | | Returns type of targets supported by integration provider
type of supported target |
isSingular | public boolean isSingular()(Code) | | Checks if this provider is the only one for its target type (Java Application, Applet)
true if this provider is the only one for its target type |
performIntegration | public boolean performIntegration(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings)(Code) | | Performs automatic integration
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: targetJavaHomePath - JAVA_HOME of target JVM Parameters: selectedOptions - other InteIntegrationProvider2cific parameters (typically configuration files to modify) Parameters: attachSettings - Settings of target configuration true if automatic integration was successful |
startTarget | public void startTarget(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings)(Code) | | Automatically starts the target in separate thread
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: targetJavaHomePath - JAVA_HOME of target JVM Parameters: selectedOptions - other InteIntegrationProvider2cific parameters (typically configuration files to modify) Parameters: attachSettings - Settings of target configuration |
supportsAutomaticIntegration | public boolean supportsAutomaticIntegration(int supportedTarget, String targetOS, AttachSettings attachSettings)(Code) | | Checks if automatic integration with target configuration is supported by the integration provider
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: attachSettings - Settings of target configuration true if this target configuration is supported |
supportsJavaPlatform | public boolean supportsJavaPlatform(int supportedTarget, String targetJVM, AttachSettings attachSettings)(Code) | | Checks if provided java platform is supported by the IntegrationProvider2
Parameters: supportedTarget - Supported target Parameters: targetJVM - Java platform running the target Parameters: attachSettings - Settings of target configuration true if provided java platform is supported by the IntIntegrationProvider2 |
supportsTargetStartup | public boolean supportsTargetStartup(int supportedTarget, String targetOS, String targetJVM, String targetJavaHomePath, Object[] selectedOptions, AttachSettings attachSettings)(Code) | | Checks if automatic target startup is supported by the IntegrationProvider2
Parameters: supportedTarget - Supported target Parameters: targetOS - Operating system of the target Parameters: targetJVM - Java platform running the target Parameters: targetJavaHomePath - JAVA_HOME of target JVM Parameters: selectedOptions - other InteIntegrationProvider2cific parameters (typically configuration files to modify) Parameters: attachSettings - Settings of target configuration true if automatic target startup is supported by the IntegrIntegrationProvider2 |
|
|