com.starbase.starteam.viewcomparemerge
Class PreviewState

java.lang.Object
  |
  +--com.starbase.starteam.viewcomparemerge.PreviewState

public final class PreviewState
extends java.lang.Object

The preview state represents a highest precedence summary of all contained items and sub-folders and their contents. "has conflicts" is higher than "has changes" which is higher than "has compared items" which is higher than "has no compared items". A folder, for example, may contain items (directly or via sub-folders) in each of the four states, but the current value represents the highest precedence.


Field Summary
static PreviewState HasChanges
          Has Changes.
static PreviewState HasComparedItems
          Has Compared Items.
static PreviewState HasConflicts
          Has Conflicts.
static PreviewState HasNoComparedItems
          Has No Compared Items.
 
Method Summary
 boolean equals(java.lang.Object previewState)
          returns true if the specified mergeType instance is the same as this one
 java.lang.String getName()
          Returns a string representation of the preview state.
 int intValue()
          Returns an Integer representation of this preview state
 java.lang.String toString()
          Returns a String representation of this preview state
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HasConflicts

public static final PreviewState HasConflicts
Has Conflicts.


HasChanges

public static final PreviewState HasChanges
Has Changes.


HasComparedItems

public static final PreviewState HasComparedItems
Has Compared Items.


HasNoComparedItems

public static final PreviewState HasNoComparedItems
Has No Compared Items.

Method Detail

getName

public java.lang.String getName()
Returns a string representation of the preview state.

Returns:
a string representation of the preview state.

toString

public java.lang.String toString()
Returns a String representation of this preview state

Overrides:
toString in class java.lang.Object
Returns:
String a String representation of this preview state

equals

public boolean equals(java.lang.Object previewState)
returns true if the specified mergeType instance is the same as this one

Overrides:
equals in class java.lang.Object
Returns:
boolean true if the specified mergeType instance is the same as this one

intValue

public int intValue()
Returns an Integer representation of this preview state

Returns:
int an Integer representation of this preview state


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.