com.starteam
Class RollbackSession.Change

java.lang.Object
  extended by com.starteam.RollbackSession.Change
Enclosing class:
RollbackSession

public static final class RollbackSession.Change
extends java.lang.Object


Method Summary
 RollbackSession.MergeAction getAction()
          Returns the Merge Action associated with this change
 java.io.File getAncestor()
          returns the file content of the immediate ancestor or null
 EditCollection getDiscards()
          return the set of unresolved edits to be discarded from the target file content the unresolved edits constitute the rollback conflict.
 java.io.File getMerged()
          returns the file content of the tip after the revision changes are rolled back
 java.io.File getRollback()
          returns the file whose changes are being rolled back or null (w.r.t.
 File getStarTeamFileRevision()
          returns the StarTeam file (revision from history) being rolled back
 java.io.File getTarget()
          returns the file content of the tip prior to the revision changes being rolled back or null
 boolean isRollbackConflictDetected()
          returns true if the rollback was not completely successful, false otherwise
 void setMerged(java.io.File f)
          set the file content of the tip (in the event that a manual merge is required)
 void setRollbackConflictDetected(boolean conflict)
          set to false after resolving merge conflicts if any
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStarTeamFileRevision

public File getStarTeamFileRevision()
returns the StarTeam file (revision from history) being rolled back


getRollback

public java.io.File getRollback()
returns the file whose changes are being rolled back or null (w.r.t. it's preceding revision content - the ancestor)


getAncestor

public java.io.File getAncestor()
returns the file content of the immediate ancestor or null


getTarget

public java.io.File getTarget()
returns the file content of the tip prior to the revision changes being rolled back or null


getMerged

public java.io.File getMerged()
returns the file content of the tip after the revision changes are rolled back


setMerged

public void setMerged(java.io.File f)
set the file content of the tip (in the event that a manual merge is required)


isRollbackConflictDetected

public boolean isRollbackConflictDetected()
returns true if the rollback was not completely successful, false otherwise


setRollbackConflictDetected

public void setRollbackConflictDetected(boolean conflict)
set to false after resolving merge conflicts if any

Parameters:
conflict - false to mark the conflict as resolved

getDiscards

public EditCollection getDiscards()
return the set of unresolved edits to be discarded from the target file content the unresolved edits constitute the rollback conflict.

See Also:
Edit

getAction

public RollbackSession.MergeAction getAction()
Returns the Merge Action associated with this change

Returns:
the Merge Action associated with this change


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.