com.ibm.commerce.rules
Class RuleServerConfiguration

java.lang.Object
  |
  +--com.ibm.commerce.rules.RuleServerConfiguration

public class RuleServerConfiguration
extends java.lang.Object

Represents the configuration of a rule server within the rules system.


Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
RuleServerConfiguration(java.lang.String aServerName)
          Creates a rule server configuration with the specified name.
RuleServerConfiguration(java.lang.String aServerName, boolean anEnabled)
          Creates a rule server configuration with the specified name and marks it enabled or disabled, as specified.
 
Method Summary
 boolean equals(java.lang.Object obj)
          RuleServerConfigurations are equal iff their names are equal.
 java.lang.String getServerName()
           
 int hashCode()
           
 boolean isEnabled()
           
 void setEnabled(boolean newEnabled)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

RuleServerConfiguration

public RuleServerConfiguration(java.lang.String aServerName)
Creates a rule server configuration with the specified name.

RuleServerConfiguration

public RuleServerConfiguration(java.lang.String aServerName,
                               boolean anEnabled)
Creates a rule server configuration with the specified name and marks it enabled or disabled, as specified.
Method Detail

equals

public boolean equals(java.lang.Object obj)
RuleServerConfigurations are equal iff their names are equal.
Overrides:
equals in class java.lang.Object

getServerName

public java.lang.String getServerName()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean newEnabled)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object