Class ClientView
java.lang.Object
com.perforce.p4java.core.ViewMap<IClientViewMapping>
com.perforce.p4java.impl.generic.client.ClientView
- All Implemented Interfaces:
Iterable<IClientViewMapping>
Simple default generic implementation class for the IClientView and
associated IClientViewMapping interfaces. Relies heavily
on being a simple extension of the underlying ViewMap class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSimple extension of the basic MapEntry class to provide convenience methods based on "depot" and "client" rather than "left" and "right".Nested classes/interfaces inherited from class com.perforce.p4java.core.ViewMap
ViewMap.MapDirection -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; simply calls the superclass default constructor and sets this.client to null.ClientView(IClient client, List<IClientViewMapping> mapping) Construct a ClientView from the passed-in client and mapping list. -
Method Summary
Methods inherited from class com.perforce.p4java.core.ViewMap
addEntry, checkEntryList, deleteEntry, getEntry, getEntryList, getSize, iterator, setEntry, setEntryList, translate, updateEntryListPositionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClientView
public ClientView()Default constructor; simply calls the superclass default constructor and sets this.client to null. -
ClientView
Construct a ClientView from the passed-in client and mapping list.- Parameters:
client- clientmapping- mapping
-
-
Method Details
-
getClient
Get the client object (not path) associated with this view, if any.- Returns:
- Client object
-
setClient
Set the client object (not path) associated with this view, if any.- Parameters:
client- Client object
-