Class JtaScriptCommand
- java.lang.Object
-
- org.codehaus.cargo.container.configuration.script.AbstractScriptCommand
-
- org.codehaus.cargo.container.configuration.script.AbstractResourceScriptCommand
-
- org.codehaus.cargo.container.weblogic.internal.configuration.commands.domain.JtaScriptCommand
-
- All Implemented Interfaces:
ScriptCommand
public class JtaScriptCommand extends AbstractResourceScriptCommand
Implementation of setting server JTA properties configuration script command.
-
-
Constructor Summary
Constructors Constructor Description JtaScriptCommand(Configuration configuration, String resourcePath)
Sets configuration containing all needed information for building configuration scripts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addConfigurationScriptProperties(Map<String,String> propertiesMap)
Add custom properties needed for configuration script filtering.protected String
getScriptRelativePath()
boolean
isApplicable()
Method used for checking if script command can be applied - if it has all needed parameters set.-
Methods inherited from class org.codehaus.cargo.container.configuration.script.AbstractResourceScriptCommand
findResource, readScript
-
Methods inherited from class org.codehaus.cargo.container.configuration.script.AbstractScriptCommand
getConfiguration
-
-
-
-
Constructor Detail
-
JtaScriptCommand
public JtaScriptCommand(Configuration configuration, String resourcePath)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.resourcePath
- Path to configuration script resources.
-
-
Method Detail
-
getScriptRelativePath
protected String getScriptRelativePath()
- Specified by:
getScriptRelativePath
in classAbstractResourceScriptCommand
- Returns:
- Relative path to resource being read.
-
addConfigurationScriptProperties
protected void addConfigurationScriptProperties(Map<String,String> propertiesMap)
Description copied from class:AbstractResourceScriptCommand
Add custom properties needed for configuration script filtering.- Overrides:
addConfigurationScriptProperties
in classAbstractResourceScriptCommand
- Parameters:
propertiesMap
- Map of additional custom properties.
-
isApplicable
public boolean isApplicable()
Description copied from class:AbstractScriptCommand
Method used for checking if script command can be applied - if it has all needed parameters set.- Specified by:
isApplicable
in interfaceScriptCommand
- Overrides:
isApplicable
in classAbstractScriptCommand
- Returns:
- True if script command can be applied with existing parameters.
-
-