|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.util.BitField
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.ChangeType
public final class ChangeType
Describes the type of change that applied to an item.
Field Summary | |
---|---|
static ChangeType |
ADD
|
static ChangeType |
ADD_BRANCH_OR_RENAME
|
static ChangeType |
ADD_EDIT_ENCODING
|
static ChangeType |
ADD_ENCODING
|
static ChangeType |
ALL
|
static ChangeType |
BRANCH
|
static ChangeType |
DELETE
|
static ChangeType |
EDIT
|
static ChangeType |
ENCODING
|
static ChangeType |
LOCK
|
static ChangeType |
MERGE
|
static ChangeType |
NONE
|
static ChangeType |
PROPERTY
|
static ChangeType |
RENAME
|
static ChangeType |
RENAME_OR_DELETE
|
static ChangeType |
ROLLBACK
|
static ChangeType |
SOURCE_RENAME
|
static ChangeType |
TARGET_RENAME
|
static ChangeType |
UNDELETE
|
Constructor Summary | |
---|---|
ChangeType(ms.tfs.versioncontrol.clientservices._03._ChangeType flagSet,
int flagsExtended)
Constructs a ChangeType from the given web service object
FlagSet . |
Method Summary | |
---|---|
ChangeType |
combine(ChangeType other)
|
static ChangeType |
combine(ChangeType[] changeTypes)
|
boolean |
contains(ChangeType other)
|
boolean |
containsAll(ChangeType other)
|
boolean |
containsAny(ChangeType other)
|
static ChangeType |
fromIntFlags(int flags)
Creates a ChangeType for the given integer flags (which may come
from BitField.toIntFlags() . |
static ChangeType |
fromIntFlags(int flags,
int extendedFlags)
Creates a ChangeType for the given integer flags and extended
(2010 style) flags. |
ms.tfs.versioncontrol.clientservices._03._ChangeType |
getWebServiceObject()
Gets the web service object. |
int |
getWebServiceObjectExtendedFlags()
Gets the extended flag information for this ChangeType , which is
sent to TFS with the web service object. |
ChangeType |
remove(ChangeType other)
|
ChangeType |
retain(ChangeType other)
|
java.lang.String |
toUIString(boolean showLock)
|
java.lang.String |
toUIString(boolean showLock,
Change change)
|
java.lang.String |
toUIString(boolean showLock,
ExtendedItem extendedItem)
|
java.lang.String |
toUIString(boolean showLock,
Item item)
|
java.lang.String |
toUIString(boolean showLock,
PendingChange pendingChange)
|
java.lang.String |
toUIString(boolean showLock,
PropertyValue[] properties)
Gets a localized string describing the changes in this ChangeType
including property change information (if supplied). |
Methods inherited from class com.microsoft.tfs.util.BitField |
---|
combine, combineInternal, containsAllInternal, containsAnyInternal, containsInternal, equals, fromStringValues, getCombinedSpecialFlags, hashCode, isEmpty, registerStringValue, registerStringValue, removeInternal, retainInternal, toFullStringValues, toIntFlags, toString, toStringValues |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ChangeType NONE
public static final ChangeType ADD
public static final ChangeType EDIT
public static final ChangeType ENCODING
public static final ChangeType RENAME
public static final ChangeType DELETE
public static final ChangeType UNDELETE
public static final ChangeType BRANCH
public static final ChangeType MERGE
public static final ChangeType LOCK
public static final ChangeType ROLLBACK
public static final ChangeType SOURCE_RENAME
public static final ChangeType TARGET_RENAME
public static final ChangeType PROPERTY
public static final ChangeType ALL
public static final ChangeType ADD_ENCODING
public static final ChangeType ADD_EDIT_ENCODING
public static final ChangeType RENAME_OR_DELETE
public static final ChangeType ADD_BRANCH_OR_RENAME
Constructor Detail |
---|
public ChangeType(ms.tfs.versioncontrol.clientservices._03._ChangeType flagSet, int flagsExtended)
ChangeType
from the given web service object
FlagSet
.
flagSet
- the FlagSet
(must not be null
)flagsExtended
- the extended flag information (pass 0 to enable no extended flags)Method Detail |
---|
public ms.tfs.versioncontrol.clientservices._03._ChangeType getWebServiceObject()
public int getWebServiceObjectExtendedFlags()
ChangeType
, which is
sent to TFS with the web service object. The extended flags contain bits
for the non-extended flags, too.
public static ChangeType combine(ChangeType[] changeTypes)
public boolean containsAll(ChangeType other)
public boolean contains(ChangeType other)
public boolean containsAny(ChangeType other)
public ChangeType remove(ChangeType other)
public ChangeType retain(ChangeType other)
public ChangeType combine(ChangeType other)
public java.lang.String toUIString(boolean showLock)
public java.lang.String toUIString(boolean showLock, Item item)
public java.lang.String toUIString(boolean showLock, ExtendedItem extendedItem)
public java.lang.String toUIString(boolean showLock, PendingChange pendingChange)
public java.lang.String toUIString(boolean showLock, Change change)
public java.lang.String toUIString(boolean showLock, PropertyValue[] properties)
ChangeType
including property change information (if supplied).
showLock
- if false
, the "lock" change type string will not be
included if this ChangeType
has lock unless lock is the
only change typeproperties
- the PropertyValue
s to include in the summary if the change
type includes a PROPERTY
change (may be
null
to omit the property value information)
String
that represents this
ChangeType
public static ChangeType fromIntFlags(int flags)
ChangeType
for the given integer flags (which may come
from BitField.toIntFlags()
.
flags
- The integer flags for this ChangeType
ChangeType
public static ChangeType fromIntFlags(int flags, int extendedFlags)
ChangeType
for the given integer flags and extended
(2010 style) flags.
flags
- The integer flags for this ChangeType
extendedFlags
- The integer extended flags for this ChangeType
ChangeType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |