public static class BranchSpec.BranchViewMapping extends MapEntry implements IBranchMapping
IMapEntry.EntryTypeelementPattern, elementPatternStr, left, order, right, typeEXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX| Constructor and Description |
|---|
BranchViewMapping()
Default constructor -- calls super() only.
|
BranchViewMapping(int order,
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,
String sourceSpec,
String targetSpec)
Explicit value constructor -- calls super(order, sourceSpec, targetSpec).
|
| Modifier and Type | Method and Description |
|---|---|
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 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,
String sourceSpec,
String targetSpec)
public BranchViewMapping(int order,
String viewString)
public String getSourceSpec()
IBranchMappinggetSourceSpec in interface IBranchMappingIBranchMapping.getSourceSpec()public void setSourceSpec(String sourceSpec)
IBranchMappingsetSourceSpec in interface IBranchMappingIBranchMapping.setSourceSpec(java.lang.String)public String getTargetSpec()
IBranchMappinggetTargetSpec in interface IBranchMappingIBranchMapping.getTargetSpec()public void setTargetSpec(String targetSpec)
IBranchMappingsetTargetSpec in interface IBranchMappingIBranchMapping.setTargetSpec(java.lang.String)Copyright © 2017 Perforce Software. All Rights Reserved.