Class Streamlog
java.lang.Object
com.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.Streamlog
- All Implemented Interfaces:
IServerResource,IStreamlog
Simple default generic implementation class for the IStreamlog interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Integerprotected Integerprotected Stringprotected Dateprotected Stringprotected Stringprotected List<IStreamIntegrationLog>protected StringFields inherited from class com.perforce.p4java.impl.generic.core.ServerResource
refreshable, server, updateable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn action associated with the change typically add/edit/deleteReturn Perforce changelist's number of changelist associated with the change.Return Perforce changelist's number.Get the name of the Perforce client workspace associated with this changelist.getDate()Get the date the changelist was created or last updated.Return the description associated with this changelist.Return the stream path.Return Integration history associated with changelist.getUser()Get the user associated with this changelist.Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, parseDate, refresh, setRawField, setRawFields, setRefreshable, setServer, toDateString, update, update, update
-
Field Details
-
stream
-
change
-
action
-
date
-
user
-
client
-
associatedChange
-
description
-
streamIntegList
-
-
Constructor Details
-
Streamlog
public Streamlog()Default constructor -- sets all fields to false or null, and calls the default ServerResource constructor. -
Streamlog
Construct a Streamlog implementation, by parsing a map returned by the server. Streamlog is a single change per Stream, sorted by order, to create array.- Parameters:
map- spec maporder- order
-
-
Method Details
-
getStream
Description copied from interface:IStreamlogReturn the stream path.- Specified by:
getStreamin interfaceIStreamlog- Returns:
- Stream path string.
-
getChange
Description copied from interface:IStreamlogReturn Perforce changelist's number.- Specified by:
getChangein interfaceIStreamlog- Returns:
- changelist number.
-
getAction
Description copied from interface:IStreamlogReturn action associated with the change typically add/edit/delete- Specified by:
getActionin interfaceIStreamlog- Returns:
- change action string add/delete/edit.
-
getDate
Description copied from interface:IStreamlogGet the date the changelist was created or last updated.- Specified by:
getDatein interfaceIStreamlog- Returns:
- the date the changelist was created or last updated, or null if unknown.
-
getUser
Description copied from interface:IStreamlogGet the user associated with this changelist.- Specified by:
getUserin interfaceIStreamlog- Returns:
- the username of the user associated with this changelist, or null if no such name exists or can be determined.
-
getClient
Description copied from interface:IStreamlogGet the name of the Perforce client workspace associated with this changelist.- Specified by:
getClientin interfaceIStreamlog- Returns:
- the name of the client associated with this changelist, or null if not known.
-
getAssociatedChange
Description copied from interface:IStreamlogReturn Perforce changelist's number of changelist associated with the change.- Specified by:
getAssociatedChangein interfaceIStreamlog- Returns:
- changelist number.
-
getDescription
Description copied from interface:IStreamlogReturn the description associated with this changelist.- Specified by:
getDescriptionin interfaceIStreamlog- Returns:
- textual changelist description, or null if no such description.
-
getStreamIntegList
Description copied from interface:IStreamlogReturn Integration history associated with changelist.- Specified by:
getStreamIntegListin interfaceIStreamlog- Returns:
- List of hash maps describing integrations.
-