com.perforce.p4java.impl.generic.core
Class Label.LabelMapping
java.lang.Object
com.perforce.p4java.impl.generic.core.MapEntry
com.perforce.p4java.impl.generic.core.Label.LabelMapping
- All Implemented Interfaces:
- ILabelMapping, IMapEntry
- Enclosing class:
- Label
public static class Label.LabelMapping
- extends MapEntry
- implements ILabelMapping
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 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 interface com.perforce.p4java.core.IMapEntry |
getLeft, getLeft, getOrder, getRight, getRight, getType, setLeft, setOrder, setRight, setType, toString, toString |
Label.LabelMapping
public Label.LabelMapping()
- Default constructor -- calls super() only.
Label.LabelMapping
public Label.LabelMapping(int order,
String labelMapping)
- Explicit value constructor -- calls super(order, labelMapping).
Note that this probably won't do what you expect it to if
there's more than one element in the subscription.
getViewMapping
public String getViewMapping()
- Description copied from interface:
ILabelMapping
- Get a label view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
- Specified by:
getViewMapping
in interface ILabelMapping
- See Also:
ILabelMapping.getViewMapping()
setViewMapping
public void setViewMapping(String entry)
- Description copied from interface:
ILabelMapping
- Set a branch view entry's "source" spec; this corresponds
to the left entry of the associated mapping.
- Specified by:
setViewMapping
in interface ILabelMapping
- See Also:
ILabelMapping.setViewMapping(java.lang.String)
Copyright © 2015 Perforce Software. All Rights Reserved.