com.starbase.starteam.viewcomparemerge
Class ProcessItemScope

java.lang.Object
  |
  +--com.starbase.starteam.viewcomparemerge.Scope
        |
        +--com.starbase.starteam.viewcomparemerge.ProcessItemScope

public class ProcessItemScope
extends Scope

Includes a processs item, and the items that are linked and pinned to it, in the scope of a session.

See Also:
Session#addScope, Scope

Constructor Summary
ProcessItemScope(Item item)
          Creates a new ProcessItemScope.
ProcessItemScope(Item item, boolean bLinksOnly)
          Creates a new ProcessItemScope.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessItemScope

public ProcessItemScope(Item item)
Creates a new ProcessItemScope.

Parameters:
item - A process item. If the item resides in the source view of the session, then the process item itself is in scope. Any file revisions from the source view that are linked via process links to this process item (pinned to a specific revision at both endpoints) are also in scope.
Throws:
DisembodiedItemException - if the specified item is a disembodied item.

ProcessItemScope

public ProcessItemScope(Item item,
                        boolean bLinksOnly)
Creates a new ProcessItemScope.

Parameters:
item - A process item. Any file revisions from the source view that are linked via process links to this process item (pinned to a specific revision at both endpoints) are in scope.
bLinksOnly - If false, then the process item itself will be included in the scope (provided that it resides in the source view). Otherwise, only linked files are included.
Throws:
DisembodiedItemException - if the specified item is a disembodied item.


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