public static class Stream.StreamViewMapping extends MapEntry implements IStreamViewMapping
IStreamViewMapping.PathType
IMapEntry.EntryType
Modifier and Type | Field and Description |
---|---|
protected IStreamViewMapping.PathType |
pathType |
elementPattern, elementPatternStr, left, order, right, type
EXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX
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, toString
protected 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()
IStreamViewMapping
getPathType
in interface IStreamViewMapping
IStreamViewMapping.getPathType()
public void setPathType(IStreamViewMapping.PathType pathType)
IStreamViewMapping
setPathType
in interface IStreamViewMapping
com.perforce.p4java.core.IStreamViewMapping#setPathType(java.lang.String)
public java.lang.String getViewPath()
IStreamViewMapping
getViewPath
in interface IStreamViewMapping
IStreamViewMapping.getViewPath()
public void setViewPath(java.lang.String viewPath)
IStreamViewMapping
setViewPath
in interface IStreamViewMapping
IStreamViewMapping.setViewPath(java.lang.String)
public java.lang.String getDepotPath()
IStreamViewMapping
getDepotPath
in interface IStreamViewMapping
IStreamViewMapping.getDepotPath()
public void setDepotPath(java.lang.String depotPath)
IStreamViewMapping
setDepotPath
in interface IStreamViewMapping
IStreamViewMapping.setDepotPath(java.lang.String)
Copyright © 2018 Perforce Software. All Rights Reserved.