Package com.perforce.p4java.core
Interface IBranchSpec
- All Superinterfaces:
IBranchSpecSummary,IServerResource
- All Known Implementing Classes:
BranchSpec
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
Modifier and TypeMethodDescriptionReturn the view map associated with this branch spec.voidsetBranchView(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, setUpdatedMethods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
Method Details
-
getBranchView
ViewMap<IBranchMapping> getBranchView()Return the view map associated with this branch spec.- Returns:
- branch mapping
-
setBranchView
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.
-