com.perforce.p4java.core
Interface IBranchMapping

All Superinterfaces:
IMapEntry
All Known Implementing Classes:
BranchSpec.BranchViewMapping

public interface IBranchMapping
extends IMapEntry

Defines an individual Perforce branch view mapping between a source path and a target path.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType
 
Field Summary
 
Fields inherited from interface com.perforce.p4java.core.IMapEntry
EXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX
 
Method Summary
 String getSourceSpec()
          Get a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.
 String getTargetSpec()
          Get a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.
 void setSourceSpec(String sourceSpec)
          Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.
 void setTargetSpec(String targeSpec)
          Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.
 
Methods inherited from interface com.perforce.p4java.core.IMapEntry
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString
 

Method Detail

getSourceSpec

String getSourceSpec()
Get a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.


setSourceSpec

void setSourceSpec(String sourceSpec)
Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.


getTargetSpec

String getTargetSpec()
Get a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.


setTargetSpec

void setTargetSpec(String targeSpec)
Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.



Copyright © 2015 Perforce Software. All Rights Reserved.