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, typeORDER_UNKNOWN| Constructor and Description |
|---|
StreamViewMapping()
Default constructor -- calls super() only.
|
StreamViewMapping(int order,
IStreamViewMapping.PathType pathType,
java.lang.String viewPath,
java.lang.String depotPath)
Explicit value constructor -- calls super(order, target, targetSpec).
|
StreamViewMapping(int order,
java.lang.String viewString)
Construct a mapping from the passed-in string, which is assumed to be
in the format.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.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
|
java.lang.String |
getViewPath()
Get a stream view entry's view path; this corresponds to the left entry
of the associated mapping.
|
void |
setDepotPath(java.lang.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(java.lang.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,
java.lang.String viewPath,
java.lang.String depotPath)
public StreamViewMapping(int order,
java.lang.String viewString)
public IStreamViewMapping.PathType getPathType()
IStreamViewMappinggetPathType in interface IStreamViewMappingIStreamViewMapping.getPathType()public void setPathType(IStreamViewMapping.PathType pathType)
IStreamViewMappingsetPathType in interface IStreamViewMappingIStreamViewMapping.setPathType(com.perforce.p4java.core.IStreamViewMapping.PathType)public java.lang.String getViewPath()
IStreamViewMappinggetViewPath in interface IStreamViewMappingIStreamViewMapping.getViewPath()public void setViewPath(java.lang.String viewPath)
IStreamViewMappingsetViewPath in interface IStreamViewMappingIStreamViewMapping.setViewPath(java.lang.String)public java.lang.String getDepotPath()
IStreamViewMappinggetDepotPath in interface IStreamViewMappingIStreamViewMapping.getDepotPath()public void setDepotPath(java.lang.String depotPath)
IStreamViewMappingsetDepotPath in interface IStreamViewMappingIStreamViewMapping.setDepotPath(java.lang.String)Copyright © 2021 Perforce Software. All Rights Reserved.