|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.viewcomparemerge.MatchState
public class MatchState
Describes the relationship between an item in the source view and an item in the target view.
| Constructor Summary | |
|---|---|
MatchState()
Constructs a new MatchState. |
|
MatchState(MatchState state)
Constructs a new MatchState that is a copy of an existing one. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getItemDeletedInSource()
Indicates whether or not the item in question is deleted in the source view. |
java.lang.Boolean |
getItemDeletedInTarget()
Indicates whether or not the item in question is deleted in the target view. |
java.lang.Boolean |
getItemIsBinaryFile()
Indicates whether or not the item in question is a binary file. |
java.lang.Boolean |
getItemModifiedInSource()
Indicates whether or not the item in question is modified in the source view. |
java.lang.Boolean |
getItemModifiedInTarget()
Indicates whether or not the item in question is modified in the target view. |
java.lang.Boolean |
getItemMovedInSource()
Indicates whether or not the item in question is moved in the source view. |
java.lang.Boolean |
getItemMovedInTarget()
Indicates whether or not the item in question is moved in the target view. |
java.lang.Boolean |
getItemPresentInSource()
Indicates whether or not the item in question is present in the source view. |
java.lang.Boolean |
getItemPresentInTarget()
Indicates whether or not the item in question is present in the target view. |
java.lang.Boolean |
getItemReadOnlyInTarget()
Indicates whether or not the item in question is read-only in the target view. |
java.lang.Boolean |
getItemsHaveSameContent()
Indicates whether or not the source and target items have identical content. |
java.lang.Boolean |
getItemsInDifferentBranches()
Indicates whether or not the source and target items are in different branches of the object's version tree. |
Item.Type |
getItemType()
Gets the item type. |
MergeType |
getMergeType()
Gets the merge type. |
java.lang.Boolean |
getParentFolderFailed()
Indicates whether or not the target item's parent folder failed to be reconciled. |
java.lang.Boolean |
getParentFolderIgnored()
Indicates whether or not the target item's parent folder is ignored. |
java.lang.Boolean |
getSomeChangedPropertiesExcludedFromMerge()
Indicates whether or not at least one changed property has been excluded from the merge. |
java.lang.Boolean |
getSourceChildShareOfTarget()
Indicates whether or not the source item is a child share of the target item. |
java.lang.Boolean |
getSourceIsFloating()
Indicates whether or not the source item has a floating configuration. |
java.lang.Boolean |
getSourceItemOnRootBranch()
Indicates whether or not the source item is on the root branch of the share tree. |
java.lang.Boolean |
getTargetChildShareOfSource()
Indicates whether or not the target item is a child share of the source item. |
java.lang.Boolean |
getTargetFolderHasFloatingShares()
Indicates whether or not the target item's parent folder has floating child shares. |
java.lang.Boolean |
getTargetIsFloating()
Indicates whether or not the target item has a floating configuration. |
java.lang.Boolean |
getTargetItemOnRootBranch()
Indicates whether or not the target item is on the root branch of the share tree. |
java.lang.Boolean |
getTargetViewHasMultipleFloatingSharesWithSameOID()
Return true if the Target View has Multiple Floating Shares with the same Object ID |
boolean |
matches(MatchState pattern)
Determines whether or not this MatchState matches the conditions specified by the given pattern. |
void |
setItemDeletedInSource(boolean isDeleted)
Indicates whether or not the item in question is deleted in the source view. |
void |
setItemDeletedInSource(java.lang.Boolean isDeleted)
Indicates whether or not the item in question is deleted in the source view. |
void |
setItemDeletedInTarget(boolean isDeleted)
Indicates whether or not the item in question is deleted in the target view. |
void |
setItemDeletedInTarget(java.lang.Boolean isDeleted)
Indicates whether or not the item in question is deleted in the target view. |
void |
setItemIsBinaryFile(boolean isBinary)
Indicates whether or not the item in question is a binary file. |
void |
setItemIsBinaryFile(java.lang.Boolean isBinary)
Indicates whether or not the item in question is a binary file. |
void |
setItemModifiedInSource(boolean isModified)
Indicates whether or not the item in question is modified in the source view. |
void |
setItemModifiedInSource(java.lang.Boolean isModified)
Indicates whether or not the item in question is modified in the source view. |
void |
setItemModifiedInTarget(boolean isModified)
Indicates whether or not the item in question is modified in the target view. |
void |
setItemModifiedInTarget(java.lang.Boolean isModified)
Indicates whether or not the item in question is modified in the target view. |
void |
setItemMovedInSource(boolean isMoved)
Indicates whether or not the item in question is moved in the source view. |
void |
setItemMovedInSource(java.lang.Boolean isMoved)
Indicates whether or not the item in question is moved in the source view. |
void |
setItemMovedInTarget(boolean isMoved)
Indicates whether or not the item in question is moved in the target view. |
void |
setItemMovedInTarget(java.lang.Boolean isMoved)
Indicates whether or not the item in question is moved in the target view. |
void |
setItemPresentInSource(boolean isPresent)
Indicates whether or not the item in question is present in the source view. |
void |
setItemPresentInSource(java.lang.Boolean isPresent)
Indicates whether or not the item in question is present in the source view. |
void |
setItemPresentInTarget(boolean isPresent)
Indicates whether or not the item in question is present in the target view. |
void |
setItemPresentInTarget(java.lang.Boolean isPresent)
Indicates whether or not the item in question is present in the target view. |
void |
setItemReadOnlyInTarget(boolean isPresent)
Indicates whether or not the item in question is read-only in the target view. |
void |
setItemReadOnlyInTarget(java.lang.Boolean isPresent)
Indicates whether or not the item in question is read-only in the target view. |
void |
setItemsHaveSameContent(boolean isSame)
Indicates whether or not the source and target items have identical content. |
void |
setItemsHaveSameContent(java.lang.Boolean isSame)
Indicates whether or not the source and target items have identical content. |
void |
setItemsInDifferentBranches(boolean isDifferent)
Indicates whether or not the source and target items are in different branches of the object's version tree. |
void |
setItemsInDifferentBranches(java.lang.Boolean isDifferent)
Indicates whether or not the source and target items are in different branches of the object's version tree. |
void |
setItemType(Item.Type type)
Sets the item type. |
void |
setMergeType(MergeType mergeType)
Sets the merge type. |
void |
setParentFolderFailed(boolean isFailed)
Indicates whether or not the target item's parent folder failed to be reconciled. |
void |
setParentFolderFailed(java.lang.Boolean isFailed)
Indicates whether or not the target item's parent folder failed to be reconciled. |
void |
setParentFolderIgnored(boolean isIgnored)
Indicates whether or not the target item's parent folder is ignored. |
void |
setParentFolderIgnored(java.lang.Boolean isIgnored)
Indicates whether or not the target item's parent folder is ignored. |
void |
setSomeChangedPropertiesExcludedFromMerge(boolean isChangeExcluded)
Indicates whether or not at least one changed property has been excluded from the merge. |
void |
setSomeChangedPropertiesExcludedFromMerge(java.lang.Boolean isChangeExcluded)
Indicates whether or not at least one changed property has been excluded from the merge. |
void |
setSourceChildShareOfTarget(boolean isChildShare)
Indicates whether or not the source item is a child share of the target item. |
void |
setSourceChildShareOfTarget(java.lang.Boolean isChildShare)
Indicates whether or not the the source item is a child share of the target item. |
void |
setSourceIsFloating(boolean isFloating)
Indicates whether or not the source item has a floating configuration. |
void |
setSourceIsFloating(java.lang.Boolean isFloating)
Indicates whether or not the the source item has a floating configuration. |
void |
setSourceItemOnRootBranch(boolean isOnRootBranch)
Indicates whether or not the source item is on the root branch of the share tree. |
void |
setSourceItemOnRootBranch(java.lang.Boolean isOnRootBranch)
Indicates whether or not the source item is on the root branch of the share tree. |
void |
setTargetChildShareOfSource(boolean isChildShare)
Indicates whether or not the target item is a child share of the source item. |
void |
setTargetChildShareOfSource(java.lang.Boolean isChildShare)
Indicates whether or not the the target item is a child share of the source item. |
void |
setTargetFolderHasFloatingShares(boolean hasFloatingShares)
Indicates whether or not the target item's parent folder has floating child shares. |
void |
setTargetFolderHasFloatingShares(java.lang.Boolean hasFloatingShares)
Indicates whether or not the target item's parent folder has floating child shares. |
void |
setTargetIsFloating(boolean isFloating)
Indicates whether or not the target item has a floating configuration. |
void |
setTargetIsFloating(java.lang.Boolean isFloating)
Indicates whether or not the target item has a floating configuration. |
void |
setTargetItemOnRootBranch(boolean isOnRootBranch)
Indicates whether or not the target item is on the root branch of the share tree. |
void |
setTargetItemOnRootBranch(java.lang.Boolean isOnRootBranch)
Indicates whether or not the target item is on the root branch of the share tree. |
void |
setTargetViewHasMultipleFloatingSharesWithSameOID(boolean hasMultipleSharesWithOID)
Indicates whether or not the Target View has Multiple Floating Shares with the same Object ID |
void |
setTargetViewHasMultipleFloatingSharesWithSameOID(java.lang.Boolean hasMultipleSharesWithOID)
Indicates whether or not the Target View has Multiple Floating Shares with the same Object ID |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatchState()
public MatchState(MatchState state)
state - the MatchState to use to construct this one| Method Detail |
|---|
public void setMergeType(MergeType mergeType)
mergeType - The merge type. Default value is null, indicating that any
merge type is acceptable.public MergeType getMergeType()
public void setItemPresentInSource(boolean isPresent)
isPresent - True if the item is present in the source view.MatchState.setItemPresentInSource(Boolean)public void setItemPresentInSource(java.lang.Boolean isPresent)
isPresent - Boolean.TRUE if the item is present in the source view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemPresentInSource()
public void setItemPresentInTarget(boolean isPresent)
isPresent - True if the item is present in the target view.MatchState.setItemPresentInTarget(Boolean)public void setItemPresentInTarget(java.lang.Boolean isPresent)
isPresent - Boolean.TRUE if the item is present in the target view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemPresentInTarget()
public void setItemReadOnlyInTarget(boolean isPresent)
isPresent - True if the item is read-only in the target view.MatchState.setItemPresentInTarget(Boolean)public void setItemReadOnlyInTarget(java.lang.Boolean isPresent)
isPresent - Boolean.TRUE if the item is read-only in the target view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemReadOnlyInTarget()
public void setItemDeletedInSource(boolean isDeleted)
isDeleted - True if the item is deleted in the source view.MatchState.setItemDeletedInSource(Boolean)public void setItemDeletedInSource(java.lang.Boolean isDeleted)
isDeleted - Boolean.TRUE if the item is deleted in the source view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemDeletedInSource()
public void setItemDeletedInTarget(boolean isDeleted)
isDeleted - True if the item is deleted in the target view.MatchState.setItemDeletedInTarget(Boolean)public void setItemDeletedInTarget(java.lang.Boolean isDeleted)
isDeleted - Boolean.TRUE if the item is deleted in the target view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemDeletedInTarget()
public void setItemModifiedInSource(boolean isModified)
isModified - True if the item is modified in the source view.MatchState.setItemModifiedInSource(Boolean)public void setItemModifiedInSource(java.lang.Boolean isModified)
isModified - Boolean.TRUE if the item is modified in the source view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemModifiedInSource()
public void setItemModifiedInTarget(boolean isModified)
isModified - True if the item is modified in the target view.MatchState.setItemModifiedInTarget(Boolean)public void setItemModifiedInTarget(java.lang.Boolean isModified)
isModified - Boolean.TRUE if the item is modified in the target view.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemModifiedInTarget()
public void setItemMovedInSource(boolean isMoved)
isMoved - True if the item is moved in the source view.MatchState.setItemMovedInSource(Boolean)public void setItemMovedInSource(java.lang.Boolean isMoved)
isMoved - Boolean.TRUE if the item is moved in the source view. Default
value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemMovedInSource()
public void setItemMovedInTarget(boolean isMoved)
isMoved - True if the item is moved in the target view.MatchState.setItemMovedInTarget(Boolean)public void setItemMovedInTarget(java.lang.Boolean isMoved)
isMoved - Boolean.TRUE if the item is moved in the target view. Default
value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemMovedInTarget()
public void setItemsInDifferentBranches(boolean isDifferent)
isDifferent - True if the items are in different branches.MatchState.setItemsInDifferentBranches(Boolean)public void setItemsInDifferentBranches(java.lang.Boolean isDifferent)
isDifferent - Boolean.TRUE if the items are in different branches. Default
value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemsInDifferentBranches()
public void setSourceItemOnRootBranch(boolean isOnRootBranch)
isOnRootBranch - True if the source item is on the root branch of the share
tree.MatchState.setSourceItemOnRootBranch(Boolean)public void setSourceItemOnRootBranch(java.lang.Boolean isOnRootBranch)
isOnRootBranch - Boolean.TRUE if the source item is on the root branch of the
share tree. Default value is null ("Don't Know" /
"Don't Care").public java.lang.Boolean getSourceItemOnRootBranch()
public void setTargetItemOnRootBranch(boolean isOnRootBranch)
isOnRootBranch - True if the target item is on the root branch of the share
tree.MatchState.setTargetItemOnRootBranch(Boolean)public void setTargetItemOnRootBranch(java.lang.Boolean isOnRootBranch)
isOnRootBranch - Boolean.TRUE if the target item is on the root branch of the
share tree. Default value is null ("Don't Know" /
"Don't Care").public java.lang.Boolean getTargetItemOnRootBranch()
public void setItemType(Item.Type type)
type - The item type. Default value is null, indicating that any type
is acceptable.public Item.Type getItemType()
public void setItemIsBinaryFile(boolean isBinary)
isBinary - True if the item is a binary file.MatchState.setItemIsBinaryFile(Boolean)public void setItemIsBinaryFile(java.lang.Boolean isBinary)
isBinary - Boolean.TRUE if the item is a binary file. Default value is
null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemIsBinaryFile()
public void setTargetChildShareOfSource(boolean isChildShare)
isChildShare - True if the target item is a child share of the source item.MatchState.setTargetChildShareOfSource(Boolean)public void setTargetChildShareOfSource(java.lang.Boolean isChildShare)
isChildShare - Boolean.TRUE if the target item is a child share of the source
item. Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getTargetChildShareOfSource()
public void setSourceChildShareOfTarget(boolean isChildShare)
isChildShare - True if the source item is a child share of the target item.MatchState.setSourceChildShareOfTarget(Boolean)public void setSourceChildShareOfTarget(java.lang.Boolean isChildShare)
isChildShare - Boolean.TRUE if the source item is a child share of the target
item. Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getSourceChildShareOfTarget()
public void setTargetIsFloating(boolean isFloating)
isFloating - True if the target item has a floating configuration.MatchState.setTargetIsFloating(Boolean)public void setTargetIsFloating(java.lang.Boolean isFloating)
isFloating - Boolean.TRUE if the target item has a floating configuration.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getTargetIsFloating()
public void setSourceIsFloating(boolean isFloating)
isFloating - True if the source item has a floating configuration.MatchState.setSourceIsFloating(Boolean)public void setSourceIsFloating(java.lang.Boolean isFloating)
isFloating - Boolean.TRUE if the source item has a floating configuration.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getSourceIsFloating()
public void setItemsHaveSameContent(boolean isSame)
isSame - True if the source and target items have identical content.MatchState.setItemsHaveSameContent(Boolean)public void setItemsHaveSameContent(java.lang.Boolean isSame)
isSame - Boolean.TRUE if the source and target items have identical
content. Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getItemsHaveSameContent()
public void setSomeChangedPropertiesExcludedFromMerge(boolean isChangeExcluded)
isChangeExcluded - True if at least one changed property has been excluded from
the merge.MatchState.setSomeChangedPropertiesExcludedFromMerge(Boolean)public void setSomeChangedPropertiesExcludedFromMerge(java.lang.Boolean isChangeExcluded)
isChangeExcluded - Boolean.TRUE if at least one changed property has been
excluded from the merge. Default value is null ("Don't Know" /
"Don't Care").public java.lang.Boolean getSomeChangedPropertiesExcludedFromMerge()
public void setParentFolderFailed(boolean isFailed)
isFailed - True if the target item's parent folder failed to be
reconciled.MatchState.setParentFolderFailed(Boolean)public void setParentFolderFailed(java.lang.Boolean isFailed)
isFailed - Boolean.TRUE if the target item's parent folder failed to be
reconciled. Default value is null ("Don't Know" /
"Don't Care").public java.lang.Boolean getParentFolderFailed()
public void setParentFolderIgnored(boolean isIgnored)
isIgnored - True if the target item's parent folder is ignored.MatchState.setParentFolderIgnored(Boolean)public void setParentFolderIgnored(java.lang.Boolean isIgnored)
isIgnored - Boolean.TRUE if the target item's parent folder is ignored.
Default value is null ("Don't Know" / "Don't Care").public java.lang.Boolean getParentFolderIgnored()
public void setTargetViewHasMultipleFloatingSharesWithSameOID(boolean hasMultipleSharesWithOID)
hasMultipleSharesWithOID - true to specify whether the Target View has multiple floating
shares with the same object idpublic void setTargetViewHasMultipleFloatingSharesWithSameOID(java.lang.Boolean hasMultipleSharesWithOID)
hasMultipleSharesWithOID - true to specify whether the Target View has multiple floating
shares with the same object idpublic java.lang.Boolean getTargetViewHasMultipleFloatingSharesWithSameOID()
public void setTargetFolderHasFloatingShares(boolean hasFloatingShares)
hasFloatingShares - True if the target item's parent folder has floating child
shares.MatchState.setTargetFolderHasFloatingShares(Boolean)public void setTargetFolderHasFloatingShares(java.lang.Boolean hasFloatingShares)
hasFloatingShares - Boolean.TRUE if the target item's parent folder has floating
child shares. Default value is null ("Don't Know" /
"Don't Care").public java.lang.Boolean getTargetFolderHasFloatingShares()
public boolean matches(MatchState pattern)
pattern - The pattern to be matched.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||