public class ListDelegator extends BaseDelegator implements IListDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
ListDelegator(IOptionsServer server)
Instantiates a new list delegator.
|
Modifier and Type | Method and 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) |
public ListDelegator(IOptionsServer server)
server
- the serverpublic ListData getListData(java.util.List<IFileSpec> fileSpecs, ListOptions options) throws P4JavaException
getListData
in interface IListDelegator
fileSpecs
- List of file paths to be labeledoptions
- Options as required by the command p4 listP4JavaException
- on errorpublic ListData getListData(java.util.List<IFileSpec> fileSpecs, ListOptions options, java.lang.String clientName) throws P4JavaException
getListData
in interface IListDelegator
P4JavaException