Interface SQLPluginMBean
- All Superinterfaces:
PluginMBean,SelfEmailingMBean
- All Known Implementing Classes:
AbstractSQLPlugin
An abstract class used by plugins that executes SQL script files during
plugin execution. These types of plugins rely on SQL files to
generate data that is subsequently collected.
This class wraps common functionality needed for plugins
that execute SQL files.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionObtain the name of the sql script to run which must be located under the file path/db/sql
Supported API: truevoidsetScriptName(String scriptName) Set the name of the sql script to run which must be located under the file path/db/sql
Supported API: trueMethods inherited from interface com.ptc.customersupport.mbeans.PluginMBean
areDbCredentialsNeeded, areWindchillCredentialsNeeded, collect, collect, getClusterAware, getCompressOutput, getConfigFileName, getDateRangeUsed, getDescription, getDisplayName, getMBeanName, getName, getNmObject, getPluginType, getPluginVersion, setClusterAware, setCompressOutput, setDatabaseCredentials, setDateRangeUsed, setDisplayName, setMBeanNameMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getScriptName
String getScriptName()Obtain the name of the sql script to run which must be located under the file path/db/sql
Supported API: true- Returns:
-
setScriptName
Set the name of the sql script to run which must be located under the file path/db/sql
Supported API: true- Parameters:
scriptName-
-