Class StreamlogDelegator
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
-
- com.perforce.p4java.impl.mapbased.server.cmd.StreamlogDelegator
-
- All Implemented Interfaces:
IStreamlogDelegator
public class StreamlogDelegator extends BaseDelegator implements IStreamlogDelegator
-
-
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 StreamlogDelegator(IOptionsServer server)
Basic constructor, taking a server object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<IStreamlog>>
getStreamlog(java.util.List<java.lang.String> streamPaths, StreamlogOptions opts)
List the revision history of the specified stream specs, from the most recent revision to the first.
-
-
-
Constructor Detail
-
StreamlogDelegator
public StreamlogDelegator(IOptionsServer server)
Basic constructor, taking a server object.- Parameters:
server
- - an instance of the currently effective server implementaion
-
-
Method Detail
-
getStreamlog
public java.util.Map<java.lang.String,java.util.List<IStreamlog>> getStreamlog(java.util.List<java.lang.String> streamPaths, StreamlogOptions opts) throws P4JavaException
Description copied from interface:IStreamlogDelegator
List the revision history of the specified stream specs, from the most recent revision to the first. If the stream was opened for edit and submitted, the change list information is displayed. Otherwise only the maximum change num at the time of edit is displayed.- Specified by:
getStreamlog
in interfaceIStreamlogDelegator
- Parameters:
streamPaths
- Stream paths to get history.opts
- Command options.- Returns:
- List of Streamlog.
- Throws:
P4JavaException
- on error- See Also:
StreamlogOptions(java.lang.String...)
,IStreamlog
-
-