|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.payments.configurator.CassetteConfiguratorAdapter
The CassetteConfiguratorAdapter abstract class. Supports the configuration of cassettes into a specific WCPayments instance.
This abstract class adds some of the basic cassette information into the ETCassetteCFG table, it also add the cassette jar, pspl and some other files into the WCPayments Enterprise Application Archive (ear). Cassette velelopers can extend this class to help them add and configure their cassette into the WCPayment instance.
Cassette developers can extend this class if they choose to, they will only need to implements the following methods:
Fields inherited from interface com.ibm.commerce.payments.configurator.ICassetteConfigurator |
---|
CASSETTE_CLASSPATH, CASSETTE_CONFIG_CLASS, CASSETTE_NAME, CASSETTE_VENDOR, CASSETTE_VERSION, MIN_FRAMEWORK_VERSION |
Constructor Summary | |
---|---|
CassetteConfiguratorAdapter()
Default constructor |
|
CassetteConfiguratorAdapter(com.ibm.commerce.payments.configurator.cassette.CassetteGenerator cassettegen)
Constructor that includes a Cassette Generator as a parameter |
Method Summary | |
---|---|
void |
copyCassetteToEAR()
Copies cassette to an EAR file. |
java.util.List |
getArchiveName()
Returns the archive name(s) for the cassette. |
java.lang.String |
getConfigClass()
Returns the config class for the cassette. |
java.lang.String |
getCreateScript()
Returns the name of the create script. |
java.util.Hashtable |
getDatabaseScripts()
Returns the hashtable of database scripts. |
java.lang.String |
getDatabaseType()
Returns the database type. |
java.lang.String |
getDeleteScript()
Returns the name of the delete script. |
long |
getLastCopiedTime()
Gets the timestamp of the last time the cassette directory was copied |
java.lang.String |
getMigrateScript()
Returns the name of the migrate script. |
java.lang.String |
getMinFrameworkVersion()
Returns the minimal framework version for the cassette. |
java.lang.String |
getName()
Returns the cassette name. |
java.util.List |
getPspl()
Returns the pspl(s) for the cassette. |
java.util.List |
getRequiredParameters()
Returns the list of required parameters. |
java.lang.String |
getVendor()
Returns the name of the cassette vendor. |
java.lang.String |
getVersion()
Returns the version number of the cassette. |
void |
init(com.ibm.commerce.payments.configurator.cassette.CassetteGenerator cassettegen)
Initializes the Configuator Adapter's variables using the properties in the cassette generator. |
java.lang.String |
toString()
Returns a String representation of the CassetteConfiguratorAdapter class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.payments.configurator.ICassetteConfigurator |
---|
addToInstance, getSystemProperties, migrate, removeFromInstance |
Constructor Detail |
public CassetteConfiguratorAdapter()
public CassetteConfiguratorAdapter(com.ibm.commerce.payments.configurator.cassette.CassetteGenerator cassettegen) throws CassetteNotInstalledException
cassettegen
- The cassette generator object that has already been populated with cassette dataCassetteNotInstalledException
- Thrown when the cassete has not been installedMethod Detail |
public java.lang.String toString()
toString
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
toString
in class java.lang.Object
public void init(com.ibm.commerce.payments.configurator.cassette.CassetteGenerator cassettegen) throws CassetteNotInstalledException
cassettegen
- The cassette generator object that has already been populated with cassette dataCassetteNotInstalledException
- Thrown when the cassette has not been installedpublic java.lang.String getName()
getName
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getVendor()
getVendor
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getVersion()
getVersion
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getMinFrameworkVersion()
getMinFrameworkVersion
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getConfigClass()
getConfigClass
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.util.List getArchiveName()
getArchiveName
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.util.List getPspl()
getPspl
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getDatabaseType()
getDatabaseType
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.util.Hashtable getDatabaseScripts()
getDatabaseScripts
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getCreateScript()
getCreateScript
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getDeleteScript()
getDeleteScript
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.lang.String getMigrateScript()
getMigrateScript
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public java.util.List getRequiredParameters()
getRequiredParameters
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
public void copyCassetteToEAR() throws CassetteNotInstalledException
CassetteNotInstalledException
- if the cassette is not installed in the Payments instance.public long getLastCopiedTime()
getLastCopiedTime
in interface com.ibm.commerce.payments.configurator.ICassetteConfigurator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |