com.perforce.p4java.impl.generic.client
Class ClientView.ClientViewMapping
java.lang.Object
com.perforce.p4java.impl.generic.core.MapEntry
com.perforce.p4java.impl.generic.client.ClientView.ClientViewMapping
- All Implemented Interfaces:
- IClientViewMapping, IMapEntry
- Enclosing class:
- ClientView
public static class ClientView.ClientViewMapping
- extends MapEntry
- implements IClientViewMapping
Simple extension of the basic MapEntry class to provide convenience
methods based on "depot" and "client" rather than "left" and "right".
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 |
NO_MAP_ORDER
public static final int NO_MAP_ORDER
- See Also:
- Constant Field Values
ClientView.ClientViewMapping
public ClientView.ClientViewMapping()
- Default constructor. Sets all fields to null or false.
ClientView.ClientViewMapping
public ClientView.ClientViewMapping(int order,
String mappingString)
- Constructs a new view mapping by calling the superclass's
corresponding constructor.
ClientView.ClientViewMapping
public ClientView.ClientViewMapping(int order,
String depotSpec,
String client)
- Constructs a new view mapping by calling the superclass's
corresponding constructor.
ClientView.ClientViewMapping
public ClientView.ClientViewMapping(int order,
IMapEntry.EntryType type,
String depotSpec,
String clientSpec)
- Constructs a new view mapping by calling the superclass's
corresponding constructor.
getDepotSpec
public String getDepotSpec()
- Specified by:
getDepotSpec
in interface IClientViewMapping
getDepotSpec
public String getDepotSpec(boolean quoteBlanks)
- Specified by:
getDepotSpec
in interface IClientViewMapping
setDepotSpec
public void setDepotSpec(String depotSpec)
- Specified by:
setDepotSpec
in interface IClientViewMapping
getClient
public String getClient()
- Specified by:
getClient
in interface IClientViewMapping
setClient
public void setClient(String client)
- Specified by:
setClient
in interface IClientViewMapping
getClient
public String getClient(boolean quoteBlanks)
- Specified by:
getClient
in interface IClientViewMapping
Copyright © 2015 Perforce Software. All Rights Reserved.