Package com.perforce.p4java.core
Interface IBranchMapping
- All Superinterfaces:
IMapEntry
- All Known Implementing Classes:
BranchSpec.BranchViewMapping
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
Modifier and TypeMethodDescriptionGet a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.Get a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.voidsetSourceSpec(String sourceSpec) Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.voidsetTargetSpec(String targeSpec) Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.
-
Method Details
-
getSourceSpec
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
Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.- Parameters:
sourceSpec- LHS branch mapping
-
getTargetSpec
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
Set a branch view entry's "target" spec; this corresponds to the right entry of the associated mapping.- Parameters:
targeSpec- RHS branch mapping
-