net.sourceforge.wurfl.core.operation
Enum RecoveryCase.TestCase

java.lang.Object
  extended by java.lang.Enum<RecoveryCase.TestCase>
      extended by net.sourceforge.wurfl.core.operation.RecoveryCase.TestCase
All Implemented Interfaces:
Serializable, Comparable<RecoveryCase.TestCase>
Enclosing class:
RecoveryCase

public static enum RecoveryCase.TestCase
extends Enum<RecoveryCase.TestCase>


Enum Constant Summary
contains
           
indexOfGreaterThanZero
           
startsWith
           
 
Method Summary
static RecoveryCase.TestCase getMatchCaseFromString(String value)
          Returns the correct enum value of the test case from the modifier XML attribute value (default: contains)
static RecoveryCase.TestCase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RecoveryCase.TestCase[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

contains

public static final RecoveryCase.TestCase contains

startsWith

public static final RecoveryCase.TestCase startsWith

indexOfGreaterThanZero

public static final RecoveryCase.TestCase indexOfGreaterThanZero
Method Detail

values

public static RecoveryCase.TestCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RecoveryCase.TestCase c : RecoveryCase.TestCase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RecoveryCase.TestCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getMatchCaseFromString

public static RecoveryCase.TestCase getMatchCaseFromString(String value)
Returns the correct enum value of the test case from the modifier XML attribute value (default: contains)

Parameters:
value - the modifier attribute value
Returns:
the corresponding MatchCase entry


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.