Package 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
ORDER_UNKNOWN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSourceSpec()Get a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.java.lang.StringgetTargetSpec()Get a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.voidsetSourceSpec(java.lang.String sourceSpec)Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.voidsetTargetSpec(java.lang.String targeSpec)Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.
-
-
-
Method Detail
-
getSourceSpec
java.lang.String getSourceSpec()
Get a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.- Returns:
- LHS branch mapping
-
setSourceSpec
void setSourceSpec(java.lang.String sourceSpec)
Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.- Parameters:
sourceSpec- LHS branch mapping
-
getTargetSpec
java.lang.String getTargetSpec()
Get a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.- Returns:
- RHS branch mapping
-
setTargetSpec
void setTargetSpec(java.lang.String targeSpec)
Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.- Parameters:
targeSpec- RHS branch mapping
-
-