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
public class ListDelegator extends BaseDelegator implements 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 Constructor Description ListDelegator(IOptionsServer server)
Instantiates a new list delegator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListData
getListData(java.util.List<IFileSpec> fileSpecs, ListOptions options)
Returns the data retrieved as part of the 'p4 list -l'ListData
getListData(java.util.List<IFileSpec> fileSpecs, ListOptions options, java.lang.String clientName)
-
-
-
Constructor Detail
-
ListDelegator
public ListDelegator(IOptionsServer server)
Instantiates a new list delegator.- Parameters:
server
- the server
-
-
Method Detail
-
getListData
public ListData getListData(java.util.List<IFileSpec> fileSpecs, ListOptions options) throws P4JavaException
Returns the data retrieved as part of the 'p4 list -l'- Specified by:
getListData
in 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(java.util.List<IFileSpec> fileSpecs, ListOptions options, java.lang.String clientName) throws P4JavaException
- Specified by:
getListData
in interfaceIListDelegator
- Throws:
P4JavaException
-
-