com.perforce.p4java.impl.generic.core
Class Stream.StreamRemappedMapping

java.lang.Object
  extended by com.perforce.p4java.impl.generic.core.MapEntry
      extended by com.perforce.p4java.impl.generic.core.Stream.StreamRemappedMapping
All Implemented Interfaces:
IMapEntry, IStreamRemappedMapping
Enclosing class:
Stream

public static class Stream.StreamRemappedMapping
extends MapEntry
implements IStreamRemappedMapping

Simple default implementation of the IStreamRemappedMapping interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType
 
Field Summary
 
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.StreamRemappedMapping()
          Default constructor -- calls super() only.
Stream.StreamRemappedMapping(int order, String viewString)
          Construct a mapping from the passed-in string, which is assumed to be in the format described in MapEntry.parseViewString(String).
Stream.StreamRemappedMapping(int order, String leftRemapPath, String rightRemapPath)
          Explicit value constructor -- calls super(order, target, targetSpec).
 
Method Summary
 String getLeftRemapPath()
          Get a stream remapped entry's left remap path; this corresponds to the left entry of the associated mapping.
 String getRightRemapPath()
          Get a stream remapped entry's right remap path; this corresponds to the right entry of the associated mapping.
 void setLeftRemapPath(String leftRemapPath)
          Set a stream remapped entry's left remap path; this corresponds to the left entry of the associated mapping.
 void setRightRemapPath(String rightRemapPath)
          Set a stream remapped entry's right remap path; this corresponds to the right 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
 

Constructor Detail

Stream.StreamRemappedMapping

public Stream.StreamRemappedMapping()
Default constructor -- calls super() only.


Stream.StreamRemappedMapping

public Stream.StreamRemappedMapping(int order,
                                    String leftRemapPath,
                                    String rightRemapPath)
Explicit value constructor -- calls super(order, target, targetSpec).


Stream.StreamRemappedMapping

public Stream.StreamRemappedMapping(int order,
                                    String viewString)
Construct a mapping from the passed-in string, which is assumed to be in the format described in MapEntry.parseViewString(String).

Method Detail

getLeftRemapPath

public String getLeftRemapPath()
Description copied from interface: IStreamRemappedMapping
Get a stream remapped entry's left remap path; this corresponds to the left entry of the associated mapping.

Specified by:
getLeftRemapPath in interface IStreamRemappedMapping
See Also:
IStreamRemappedMapping.getLeftRemapPath()

setLeftRemapPath

public void setLeftRemapPath(String leftRemapPath)
Description copied from interface: IStreamRemappedMapping
Set a stream remapped entry's left remap path; this corresponds to the left entry of the associated mapping.

Specified by:
setLeftRemapPath in interface IStreamRemappedMapping
See Also:
IStreamRemappedMapping.setLeftRemapPath(java.lang.String)

getRightRemapPath

public String getRightRemapPath()
Description copied from interface: IStreamRemappedMapping
Get a stream remapped entry's right remap path; this corresponds to the right entry of the associated mapping.

Specified by:
getRightRemapPath in interface IStreamRemappedMapping
See Also:
IStreamRemappedMapping.getRightRemapPath()

setRightRemapPath

public void setRightRemapPath(String rightRemapPath)
Description copied from interface: IStreamRemappedMapping
Set a stream remapped entry's right remap path; this corresponds to the right entry of the associated mapping.

Specified by:
setRightRemapPath in interface IStreamRemappedMapping
See Also:
IStreamRemappedMapping.setRightRemapPath(java.lang.String)


Copyright © 2015 Perforce Software. All Rights Reserved.