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.
  • 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

      void setSourceSpec(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

      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(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