Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcFile.ApplyRolemapFlag

Object
  extended by Enum<CcFile.ApplyRolemapFlag>
      extended by CcFile.ApplyRolemapFlag
All Implemented Interfaces:
Serializable, Comparable<CcFile.ApplyRolemapFlag>
Enclosing interface:
CcFile

public static enum CcFile.ApplyRolemapFlag
extends Enum<CcFile.ApplyRolemapFlag>

Flags for the doApplyRolemap method


Enum Constant Summary
DIRECTORY
          Restricts the command to changing directory elements only.
FILE
          Restricts the command to changing file elements only.
RECURSE
          Apply rolemap recursively over sub-tree, if one exists.
 
Method Summary
 String toString()
           
static CcFile.ApplyRolemapFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcFile.ApplyRolemapFlag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DIRECTORY

public static final CcFile.ApplyRolemapFlag DIRECTORY
Restricts the command to changing directory elements only. (Mutually exclusive with FILE.)


FILE

public static final CcFile.ApplyRolemapFlag FILE
Restricts the command to changing file elements only. (Mutually exclusive with DIRECTORY.)


RECURSE

public static final CcFile.ApplyRolemapFlag RECURSE
Apply rolemap recursively over sub-tree, if one exists.

Method Detail

toString

public String toString()
Overrides:
toString in class Enum<CcFile.ApplyRolemapFlag>

valueOf

public static CcFile.ApplyRolemapFlag 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

values

public static CcFile.ApplyRolemapFlag[] 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 (CcFile.ApplyRolemapFlag c : CcFile.ApplyRolemapFlag.values())
    System.out.println(c);

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

Generated Wed 22-May-2013 09:09 AM

Copyright © IBM 2013. All rights reserved.