com.perforce.p4java.core
Interface IStreamViewMapping
- All Superinterfaces:
- IMapEntry
- All Known Implementing Classes:
- Stream.StreamViewMapping
public interface IStreamViewMapping
- extends IMapEntry
Defines an individual file path in the stream view. Each view mapping is of
the form:
[]
where is a single keyword, is a file path with no
leading slashes, and the optional is a file path beginning with
'//'. Both and may contain trailing wildcards, but
no leading or embedded wildcards. Lines in the Paths field may appear in any
order. A duplicated overrides its preceding entry.
Paths are inherited by child stream views. A child stream's paths can
downgrade the inherited view, but not upgrade it. (For instance, a child
stream can downgrade a shared path to an isolated path, but it can't upgrade
an isolated path to a shared path.) Note that is relevant only
when is 'import'.
Methods inherited from interface com.perforce.p4java.core.IMapEntry |
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString |
getPathType
IStreamViewMapping.PathType getPathType()
- Get the stream view path type
setPathType
void setPathType(IStreamViewMapping.PathType pathType)
- Set a stream view path type
getViewPath
String getViewPath()
- Get a stream view entry's view path; this corresponds to the left entry
of the associated mapping.
setViewPath
void setViewPath(String viewPath)
- Set a stream view entry's view path; this corresponds to the left entry
of the associated mapping.
getDepotPath
String getDepotPath()
- Get a stream view entry's optional depot path; this corresponds to the
right entry of the associated mapping.
setDepotPath
void setDepotPath(String depotPath)
- Set a stream view entry's optional depot path; this corresponds to the
right entry of the associated mapping.
Copyright © 2015 Perforce Software. All Rights Reserved.