|
||||||||||
| 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.Stream.StreamViewMapping
public static class Stream.StreamViewMapping
Simple default implementation of the IStreamViewMapping interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.perforce.p4java.core.IStreamViewMapping |
|---|
IStreamViewMapping.PathType |
| Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry |
|---|
IMapEntry.EntryType |
| Field Summary | |
|---|---|
protected IStreamViewMapping.PathType |
pathType
|
| 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 | |
|---|---|
Stream.StreamViewMapping()
Default constructor -- calls super() only. |
|
Stream.StreamViewMapping(int order,
IStreamViewMapping.PathType pathType,
String viewPath,
String depotPath)
Explicit value constructor -- calls super(order, target, targetSpec). |
|
Stream.StreamViewMapping(int order,
String viewString)
Construct a mapping from the passed-in string, which is assumed to be in the format. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
| Field Detail |
|---|
protected IStreamViewMapping.PathType pathType
| Constructor Detail |
|---|
public Stream.StreamViewMapping()
public Stream.StreamViewMapping(int order,
IStreamViewMapping.PathType pathType,
String viewPath,
String depotPath)
public Stream.StreamViewMapping(int order,
String viewString)
| Method Detail |
|---|
public IStreamViewMapping.PathType getPathType()
IStreamViewMapping
getPathType in interface IStreamViewMappingIStreamViewMapping.getPathType()public void setPathType(IStreamViewMapping.PathType pathType)
IStreamViewMapping
setPathType in interface IStreamViewMappingcom.perforce.p4java.core.IStreamViewMapping#setPathType(java.lang.String)public String getViewPath()
IStreamViewMapping
getViewPath in interface IStreamViewMappingIStreamViewMapping.getViewPath()public void setViewPath(String viewPath)
IStreamViewMapping
setViewPath in interface IStreamViewMappingIStreamViewMapping.setViewPath(java.lang.String)public String getDepotPath()
IStreamViewMapping
getDepotPath in interface IStreamViewMappingIStreamViewMapping.getDepotPath()public void setDepotPath(String depotPath)
IStreamViewMapping
setDepotPath in interface IStreamViewMappingIStreamViewMapping.setDepotPath(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||