Project: stp

javax.wvcm
Enum Resource.CopyFlag

Object
  extended by Enum<Resource.CopyFlag>
      extended by javax.wvcm.Resource.CopyFlag
All Implemented Interfaces:
Serializable, Comparable<Resource.CopyFlag>
Enclosing interface:
Resource

public static enum Resource.CopyFlag
extends Enum<Resource.CopyFlag>

Boolean flags for the doCopy method


Enum Constant Summary
OVERWRITE
          Indicates whether to overwrite an existing binding in the destination folder
 
Method Summary
 String toString()
          Returns a string representation of this flag suitable for diagnostics.
static Resource.CopyFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Resource.CopyFlag[] 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

OVERWRITE

public static final Resource.CopyFlag OVERWRITE
Indicates whether to overwrite an existing binding in the destination folder

Method Detail

toString

public String toString()
Returns a string representation of this flag suitable for diagnostics.

Overrides:
toString in class Enum<Resource.CopyFlag>

valueOf

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

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

Generated Mon 16-Jun-2014 09:52 AM

Copyright © IBM 2014. All rights reserved.