com.ibm.commerce.rules
Class RuleServiceStatusCode

com.ibm.commerce.rules.RuleServiceStatusCode

public class RuleServiceStatusCode

A type-safe code representing the status of a rule service. These codes are not comparable/ordered, but that can be compared for equals.


Field Summary
static RuleServiceStatusCode DISABLED
           
static RuleServiceStatusCode NOT_RUNNING
           
static RuleServiceStatusCode RUNNING
           
static RuleServiceStatusCode UNKNOWN
           
 
Constructor Summary
protected RuleServiceStatusCode(java.lang.String aName)
           
 
Method Summary
static RuleServiceStatusCode findByName(java.lang.String aName)
          Returns the RuleServiceStatusCode with the specified name or string representation.
 

Field Detail

DISABLED

public static final RuleServiceStatusCode DISABLED

NOT_RUNNING

public static final RuleServiceStatusCode NOT_RUNNING

RUNNING

public static final RuleServiceStatusCode RUNNING

UNKNOWN

public static final RuleServiceStatusCode UNKNOWN
Constructor Detail

RuleServiceStatusCode

protected RuleServiceStatusCode(java.lang.String aName)
Method Detail

findByName

public static RuleServiceStatusCode findByName(java.lang.String aName)
Returns the RuleServiceStatusCode with the specified name or string representation. If the specified name is not found, this method returns UNKNOWN.
Parameters:
aName - A name or string representation of a rule service status code.