Interface IStreamsDelegator
-
- All Known Subinterfaces:
IOptionsServer
,IServer
,IStreamingServer
- All Known Implementing Classes:
NtsServerImpl
,OneShotServerImpl
,RpcServer
,Server
,StreamsDelegator
public interface IStreamsDelegator
Interface to handle the Streams command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IStreamSummary>
getStreams(java.util.List<java.lang.String> streamPaths, GetStreamsOptions opts)
Get a list of all summary Perforce streams known to the Perforce server.
-
-
-
Method Detail
-
getStreams
java.util.List<IStreamSummary> getStreams(java.util.List<java.lang.String> streamPaths, GetStreamsOptions opts) throws P4JavaException
Get a list of all summary Perforce streams known to the Perforce server.Note that the IStreamSummary objects returned here do not have stream paths. You must call the getStream method on a specific stream to get valid paths for a stream.
- Parameters:
streamPaths
- if specified, the list of streams is limited to those matching the supplied list of stream paths, of the form //depotname/streamnameopts
- object describing optional parameters; if null, no options are set.- Returns:
- non-null (but possibly-empty) list of IStreamSummary objects.
- Throws:
P4JavaException
- if any error occurs in the processing of this method.- Since:
- 2011.2
-
-