com.perforce.p4java.core
Interface IBranchSpec

All Superinterfaces:
IBranchSpecSummary, IServerResource
All Known Implementing Classes:
BranchSpec

public interface IBranchSpec
extends IBranchSpecSummary

Defines a full Perforce branch specification for use in Perforce integrate (merge) commands.

Full branch specs in the current implementation are always complete.


Method Summary
 ViewMap<IBranchMapping> getBranchView()
          Return the view map associated with this branch spec.
 void setBranchView(ViewMap<IBranchMapping> branchView)
          Set the the view map associated with this branch spec.
 
Methods inherited from interface com.perforce.p4java.core.IBranchSpecSummary
getAccessed, getDescription, getName, getOwnerName, getUpdated, isLocked, setAccessed, setDescription, setLocked, setName, setOwnerName, setUpdated
 
Methods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, refresh, setServer, update, update, update
 

Method Detail

getBranchView

ViewMap<IBranchMapping> getBranchView()
Return the view map associated with this branch spec.


setBranchView

void setBranchView(ViewMap<IBranchMapping> branchView)
Set the the view map associated with this branch spec. This will not change the associated branch spec on the Perforce server unless you arrange for the update to server.

Parameters:
branchView - new view mappings for the branch.


Copyright © 2015 Perforce Software. All Rights Reserved.