|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.impl.generic.core.MapEntry
com.perforce.p4java.impl.generic.core.BranchSpec.BranchViewMapping
public static class BranchSpec.BranchViewMapping
Simple default implementation of the IViewMapping interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry |
---|
IMapEntry.EntryType |
Field Summary |
---|
Fields inherited from class com.perforce.p4java.impl.generic.core.MapEntry |
---|
elementPattern, elementPatternStr, left, order, right, type |
Fields inherited from interface com.perforce.p4java.core.IMapEntry |
---|
EXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX |
Constructor Summary | |
---|---|
BranchSpec.BranchViewMapping()
Default constructor -- calls super() only. |
|
BranchSpec.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). |
|
BranchSpec.BranchViewMapping(int order,
String sourceSpec,
String targetSpec)
Explicit value constructor -- calls super(order, sourceSpec, targetSpec). |
Method Summary | |
---|---|
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. |
Methods inherited from class com.perforce.p4java.impl.generic.core.MapEntry |
---|
getLeft, getLeft, getOrder, getRight, getRight, getType, parseViewMappingString, quoteWhitespaceString, setLeft, setOrder, setRight, setType, stripTypePrefix, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.perforce.p4java.core.IMapEntry |
---|
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString |
Constructor Detail |
---|
public BranchSpec.BranchViewMapping()
public BranchSpec.BranchViewMapping(int order, String sourceSpec, String targetSpec)
public BranchSpec.BranchViewMapping(int order, String viewString)
Method Detail |
---|
public String getSourceSpec()
IBranchMapping
getSourceSpec
in interface IBranchMapping
IBranchMapping.getSourceSpec()
public void setSourceSpec(String sourceSpec)
IBranchMapping
setSourceSpec
in interface IBranchMapping
IBranchMapping.setSourceSpec(java.lang.String)
public String getTargetSpec()
IBranchMapping
getTargetSpec
in interface IBranchMapping
IBranchMapping.getTargetSpec()
public void setTargetSpec(String targetSpec)
IBranchMapping
setTargetSpec
in interface IBranchMapping
IBranchMapping.setTargetSpec(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |