com.ibm.commerce.rules.commands
Class PersonalizationRuleServiceDetailsCommandBase
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
|
+--com.ibm.commerce.rules.commands.PersonalizationRuleServiceDetailsCommandBase
- All Implemented Interfaces:
- ECCommand, PersonalizationRuleServiceCommand, TaskCommand
- Direct Known Subclasses:
- ChangePersonalizationRuleServiceCommandJitImpl, CreatePersonalizationRuleServiceCommandJitImpl
- public abstract class PersonalizationRuleServiceDetailsCommandBase
- extends PersonalizationRuleServiceCommandBase
Common behavior of commands that operate on the configuration
details of a personalization rule service.
These commands have additional input parameters:
agents
The number of rule agents to create
when the rule service starts.
enabled
Whether the rule service should accept
client requests.
projectPath
The Advisor rule project the rule
service uses as an implementation.
sessionTimeout
The amount of time, in milliseconds,
the rule server should wait for a response from the rule service.
This class has several constructors, which can be used as described
in the documentation for PersonalizationRuleServiceCommandBase
.
Methods inherited from class com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase |
doCheckParameter, doPerformExecute, getDefaultPersonalizationRuleServerName, getDefaultRulesSystemDataModel, getPersonalizationRuleServerName, getRuleServiceKey, getRulesSystemDataModel, getServiceName, performExecute, setServiceName, unsetParameters, validateParameters |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
PersonalizationRuleServiceDetailsCommandBase
public PersonalizationRuleServiceDetailsCommandBase()
PersonalizationRuleServiceDetailsCommandBase
public PersonalizationRuleServiceDetailsCommandBase(RulesSystemDataModel aRulesSystemDataModel)
PersonalizationRuleServiceDetailsCommandBase
public PersonalizationRuleServiceDetailsCommandBase(java.lang.String aPersonalizationRuleServerName,
RulesSystemDataModel aRulesSystemDataModel)
getAgents
protected java.lang.Number getAgents()
getEnabled
protected java.lang.Boolean getEnabled()
getProjectPath
protected java.io.File getProjectPath()
getRuleServiceConfiguration
protected abstract RuleServiceConfiguration getRuleServiceConfiguration()
throws ParameterNotFoundException
getSessionTimeout
protected java.lang.Number getSessionTimeout()
reset
public void reset()
- This method should be called after a command has been executed to reset its states variables.
After the call to reset, we should be able to execute the command again.
- Overrides:
reset
in class PersonalizationRuleServiceCommandBase
- Following copied from class:
com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
- See Also:
ECCommand
setAgents
public void setAgents(java.lang.Number newAgents)
setEnabled
public void setEnabled(java.lang.Boolean newEnabled)
setProjectPath
public void setProjectPath(java.io.File newProjectPath)
setRuleServiceConfigurationProperties
protected void setRuleServiceConfigurationProperties(RuleServiceConfiguration aRuleServiceConfiguration)
- Alters the specified rule service configuration
with any values that have been set as input to
this command.
- Parameters:
aRuleServiceConfiguration
- The rule service
configuration to update with the input parameters
to this command. Only parameters that have been set
are changed in this rule service configuration.
setSessionTimeout
public void setSessionTimeout(java.lang.Number newSessionTimeout)