Class ListDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.ListDelegator
- All Implemented Interfaces:
IListDelegator
This class acts as a delegator that executes the command 'p4 list'
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetListData(List<IFileSpec> fileSpecs, ListOptions options) Returns the data retrieved as part of the 'p4 list -l'getListData(List<IFileSpec> fileSpecs, ListOptions options, String clientName)
-
Constructor Details
-
ListDelegator
Instantiates a new list delegator.- Parameters:
server- the server
-
-
Method Details
-
getListData
Returns the data retrieved as part of the 'p4 list -l'- Specified by:
getListDatain interfaceIListDelegator- Parameters:
fileSpecs- List of file paths to be labeledoptions- Options as required by the command p4 list- Returns:
- ListData
- Throws:
P4JavaException- on error
-
getListData
public ListData getListData(List<IFileSpec> fileSpecs, ListOptions options, String clientName) throws P4JavaException - Specified by:
getListDatain interfaceIListDelegator- Throws:
P4JavaException
-