Project: stp

javax.wvcm
Enum Workspace.MergeFlag

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

public static enum Workspace.MergeFlag
extends Enum<Workspace.MergeFlag>

Boolean flags for the doMerge method


Enum Constant Summary
CHECKIN_IDENTICAL
          Indicates whether a checkin will be performed if the persistent state of the new version would be identical to that of the previous version.
FORK_OK
          Indicates whether to fork on checkout even if forking is discouraged.
NO_AUTO_MERGE
          Indicates whether the provider is allowed is allowed to perform automatic merges.
NO_CHECKOUT
          Indicates whether the provider is allowed to checkout files for merging.
RESERVED
          Indicates whether to do a checkout even if there already is a reserved checkout from the currently selected version in the checkout activity.
UPDATE_STREAM
          Indicates whether a stream source should be updated with the current state of the workspace if the merge succeeds.
 
Method Summary
 String toString()
          Returns a string representation of this flag suitable for diagnostics.
static Workspace.MergeFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Workspace.MergeFlag[] 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

CHECKIN_IDENTICAL

public static final Workspace.MergeFlag CHECKIN_IDENTICAL
Indicates whether a checkin will be performed if the persistent state of the new version would be identical to that of the previous version. If this flag is not set, a checkin operation on an unchanged controllable resource will uncheckout that resource.


FORK_OK

public static final Workspace.MergeFlag FORK_OK
Indicates whether to fork on checkout even if forking is discouraged.

See Also:
ControllableResource.CheckoutFlag.FORK_OK

NO_AUTO_MERGE

public static final Workspace.MergeFlag NO_AUTO_MERGE
Indicates whether the provider is allowed is allowed to perform automatic merges.


NO_CHECKOUT

public static final Workspace.MergeFlag NO_CHECKOUT
Indicates whether the provider is allowed to checkout files for merging.


RESERVED

public static final Workspace.MergeFlag RESERVED
Indicates whether to do a checkout even if there already is a reserved checkout from the currently selected version in the checkout activity.

See Also:
ControllableResource.CheckoutFlag.RESERVED

UPDATE_STREAM

public static final Workspace.MergeFlag UPDATE_STREAM
Indicates whether a stream source should be updated with the current state of the workspace if the merge succeeds.

Method Detail

toString

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

Overrides:
toString in class Enum<Workspace.MergeFlag>

valueOf

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

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

Generated Thu 17-Apr-2014 02:17 PM

Copyright © IBM 2014. All rights reserved.