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
Simple extension of the basic MapEntry class to provide convenience
methods based on "depot" and "client" rather than "left" and "right".
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.perforce.p4java.core.IMapEntry
IMapEntry.EntryType -
Field Summary
FieldsFields inherited from class com.perforce.p4java.impl.generic.core.MapEntry
comment, elementPattern, elementPatternStr, left, order, right, typeFields inherited from interface com.perforce.p4java.core.IMapEntry
ORDER_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ClientViewMapping(int order, IMapEntry.EntryType type, String depotSpec, String clientSpec) Constructs a new view mapping by calling the superclass's corresponding constructor.ClientViewMapping(int order, String mappingString) Constructs a new view mapping by calling the superclass's corresponding constructor.ClientViewMapping(int order, String depotSpec, String client) Constructs a new view mapping by calling the superclass's corresponding constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetClient(boolean quoteBlanks) getDepotSpec(boolean quoteBlanks) voidvoidsetDepotSpec(String depotSpec) Methods inherited from class com.perforce.p4java.impl.generic.core.MapEntry
getComment, getComment, getLeft, getLeft, getOrder, getRight, getRight, getType, parseComments, parseViewMappingString, quoteWhitespaceString, setComment, setLeft, setOrder, setRight, setType, stripComments, stripTypePrefix, toString, toString
-
Field Details
-
NO_MAP_ORDER
public static final int NO_MAP_ORDER- See Also:
-
-
Constructor Details
-
ClientViewMapping
public ClientViewMapping()Default constructor. Sets all fields to null or false. -
ClientViewMapping
Constructs a new view mapping by calling the superclass's corresponding constructor.- Parameters:
order- ordermappingString- mappingString
-
ClientViewMapping
Constructs a new view mapping by calling the superclass's corresponding constructor.- Parameters:
order- orderdepotSpec- depotSpecclient- client
-
ClientViewMapping
Constructs a new view mapping by calling the superclass's corresponding constructor.- Parameters:
order- ordertype- typedepotSpec- depotSpecclientSpec- clientSpec
-
-
Method Details
-
getDepotSpec
- Specified by:
getDepotSpecin interfaceIClientViewMapping
-
getDepotSpec
- Specified by:
getDepotSpecin interfaceIClientViewMapping
-
setDepotSpec
- Specified by:
setDepotSpecin interfaceIClientViewMapping
-
getClient
- Specified by:
getClientin interfaceIClientViewMapping
-
setClient
- Specified by:
setClientin interfaceIClientViewMapping
-
getClient
- Specified by:
getClientin interfaceIClientViewMapping
-