org.apache.commons.cactus
Class ServiceEnumeration

java.lang.Object
  |
  +--org.apache.commons.cactus.ServiceEnumeration

public class ServiceEnumeration
extends java.lang.Object

List of valid services that the ServletTestRedirector can perform.


Field Summary
static ServiceEnumeration CALL_TEST_SERVICE
          Call test method Service.
static ServiceEnumeration GET_RESULTS_SERVICE
          Get the previous test results Service.
 
Constructor Summary
ServiceEnumeration(java.lang.String theServiceName)
           
 
Method Summary
 boolean equals(java.lang.String theString)
          Compares a string representing the name of the service with the Service enumerated type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CALL_TEST_SERVICE

public static final ServiceEnumeration CALL_TEST_SERVICE
Call test method Service.

GET_RESULTS_SERVICE

public static final ServiceEnumeration GET_RESULTS_SERVICE
Get the previous test results Service.
Constructor Detail

ServiceEnumeration

public ServiceEnumeration(java.lang.String theServiceName)
Method Detail

equals

public boolean equals(java.lang.String theString)
Compares a string representing the name of the service with the Service enumerated type.
Returns:
true if the string corresponds to the current Service

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the Service's name


Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.