com.perforce.p4java.core
Interface ILabelMapping

All Superinterfaces:
IMapEntry
All Known Implementing Classes:
Label.LabelMapping

public interface ILabelMapping
extends IMapEntry

Extends IMapEntry to provide a Perforce label-specific view map entry type.

Perforce label views define only the left side of the mapping as significant, so we only supply that here, but users are quite free to use the superclass right side methods to do what they want with...


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType
 
Field Summary
 
Fields inherited from interface com.perforce.p4java.core.IMapEntry
EXCLUDE_PREFIX, ORDER_UNKNOWN, OVERLAY_PREFIX
 
Method Summary
 String getViewMapping()
          Get a label view entry's "source" spec; this corresponds to the left entry of the associated mapping.
 void setViewMapping(String entry)
          Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.
 
Methods inherited from interface com.perforce.p4java.core.IMapEntry
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString
 

Method Detail

getViewMapping

String getViewMapping()
Get a label view entry's "source" spec; this corresponds to the left entry of the associated mapping.


setViewMapping

void setViewMapping(String entry)
Set a branch view entry's "source" spec; this corresponds to the left entry of the associated mapping.



Copyright © 2015 Perforce Software. All Rights Reserved.