public static class BranchSpec.BranchViewMapping extends MapEntry implements IBranchMapping
IMapEntry.EntryTypeelementPattern, elementPatternStr, left, order, right, typeORDER_UNKNOWN| Constructor and Description |
|---|
BranchViewMapping()
Default constructor -- calls super() only.
|
BranchViewMapping(int order,
java.lang.String viewString)
Construct a mapping from the passed-in string, which is assumed
to be in the format described in MapEntry.parseViewString(String).
|
BranchViewMapping(int order,
java.lang.String sourceSpec,
java.lang.String targetSpec)
Explicit value constructor -- calls super(order, sourceSpec, targetSpec).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSourceSpec()
Get a branch view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
|
java.lang.String |
getTargetSpec()
Get a branch view entry's "target" spec; this corresponds
to the right entry of the associated mapping.
|
void |
setSourceSpec(java.lang.String sourceSpec)
Set a branch view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
|
void |
setTargetSpec(java.lang.String targetSpec)
Set a branch view entry's "target" spec; this corresponds
to the right entry of the associated mapping.
|
getLeft, getLeft, getOrder, getRight, getRight, getType, parseViewMappingString, quoteWhitespaceString, setLeft, setOrder, setRight, setType, stripTypePrefix, toString, toStringpublic BranchViewMapping()
public BranchViewMapping(int order,
java.lang.String sourceSpec,
java.lang.String targetSpec)
public BranchViewMapping(int order,
java.lang.String viewString)
public java.lang.String getSourceSpec()
IBranchMappinggetSourceSpec in interface IBranchMappingIBranchMapping.getSourceSpec()public void setSourceSpec(java.lang.String sourceSpec)
IBranchMappingsetSourceSpec in interface IBranchMappingIBranchMapping.setSourceSpec(java.lang.String)public java.lang.String getTargetSpec()
IBranchMappinggetTargetSpec in interface IBranchMappingIBranchMapping.getTargetSpec()public void setTargetSpec(java.lang.String targetSpec)
IBranchMappingsetTargetSpec in interface IBranchMappingIBranchMapping.setTargetSpec(java.lang.String)Copyright © 2021 Perforce Software. All Rights Reserved.