public static class Stream.StreamViewMapping extends MapEntry implements IStreamViewMapping
IStreamViewMapping.PathTypeIMapEntry.EntryType| Modifier and Type | Field and Description |
|---|---|
protected IStreamViewMapping.PathType |
pathType |
elementPattern, elementPatternStr, left, order, right, typeEXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX| Constructor and Description |
|---|
StreamViewMapping()
Default constructor -- calls super() only.
|
StreamViewMapping(int order,
IStreamViewMapping.PathType pathType,
String viewPath,
String depotPath)
Explicit value constructor -- calls super(order, target, targetSpec).
|
StreamViewMapping(int order,
String viewString)
Construct a mapping from the passed-in string, which is assumed to be
in the format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDepotPath()
Get a stream view entry's optional depot path; this corresponds to the
right entry of the associated mapping.
|
IStreamViewMapping.PathType |
getPathType()
Get the stream view path type
|
String |
getViewPath()
Get a stream view entry's view path; this corresponds to the left entry
of the associated mapping.
|
void |
setDepotPath(String depotPath)
Set a stream view entry's optional depot path; this corresponds to the
right entry of the associated mapping.
|
void |
setPathType(IStreamViewMapping.PathType pathType)
Set a stream view path type
|
void |
setViewPath(String viewPath)
Set a stream view entry's view path; this corresponds to the left entry
of the associated mapping.
|
getLeft, getLeft, getOrder, getRight, getRight, getType, parseViewMappingString, quoteWhitespaceString, setLeft, setOrder, setRight, setType, stripTypePrefix, toString, toStringprotected IStreamViewMapping.PathType pathType
public StreamViewMapping()
public StreamViewMapping(int order,
IStreamViewMapping.PathType pathType,
String viewPath,
String depotPath)
public StreamViewMapping(int order,
String viewString)
public IStreamViewMapping.PathType getPathType()
IStreamViewMappinggetPathType in interface IStreamViewMappingIStreamViewMapping.getPathType()public void setPathType(IStreamViewMapping.PathType pathType)
IStreamViewMappingsetPathType in interface IStreamViewMappingcom.perforce.p4java.core.IStreamViewMapping#setPathType(java.lang.String)public String getViewPath()
IStreamViewMappinggetViewPath in interface IStreamViewMappingIStreamViewMapping.getViewPath()public void setViewPath(String viewPath)
IStreamViewMappingsetViewPath in interface IStreamViewMappingIStreamViewMapping.setViewPath(java.lang.String)public String getDepotPath()
IStreamViewMappinggetDepotPath in interface IStreamViewMappingIStreamViewMapping.getDepotPath()public void setDepotPath(String depotPath)
IStreamViewMappingsetDepotPath in interface IStreamViewMappingIStreamViewMapping.setDepotPath(java.lang.String)Copyright © 2017 Perforce Software. All Rights Reserved.