Class Streamlog

    • Field Detail

      • stream

        protected java.lang.String stream
      • change

        protected java.lang.Integer change
      • action

        protected java.lang.String action
      • date

        protected java.util.Date date
      • user

        protected java.lang.String user
      • client

        protected java.lang.String client
      • associatedChange

        protected java.lang.Integer associatedChange
      • description

        protected java.lang.String description
    • Constructor Detail

      • Streamlog

        public Streamlog()
        Default constructor -- sets all fields to false or null, and calls the default ServerResource constructor.
      • Streamlog

        public Streamlog​(java.util.Map<java.lang.String,​java.lang.Object> map,
                         int order)
        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 map
        order - order
    • Method Detail

      • getStream

        public java.lang.String getStream()
        Description copied from interface: IStreamlog
        Return the stream path.
        Specified by:
        getStream in interface IStreamlog
        Returns:
        Stream path string.
      • getChange

        public java.lang.Integer getChange()
        Description copied from interface: IStreamlog
        Return Perforce changelist's number.
        Specified by:
        getChange in interface IStreamlog
        Returns:
        changelist number.
      • getAction

        public java.lang.String getAction()
        Description copied from interface: IStreamlog
        Return action associated with the change typically add/edit/delete
        Specified by:
        getAction in interface IStreamlog
        Returns:
        change action string add/delete/edit.
      • getDate

        public java.util.Date getDate()
        Description copied from interface: IStreamlog
        Get the date the changelist was created or last updated.
        Specified by:
        getDate in interface IStreamlog
        Returns:
        the date the changelist was created or last updated, or null if unknown.
      • getUser

        public java.lang.String getUser()
        Description copied from interface: IStreamlog
        Get the user associated with this changelist.
        Specified by:
        getUser in interface IStreamlog
        Returns:
        the username of the user associated with this changelist, or null if no such name exists or can be determined.
      • getClient

        public java.lang.String getClient()
        Description copied from interface: IStreamlog
        Get the name of the Perforce client workspace associated with this changelist.
        Specified by:
        getClient in interface IStreamlog
        Returns:
        the name of the client associated with this changelist, or null if not known.
      • getAssociatedChange

        public java.lang.Integer getAssociatedChange()
        Description copied from interface: IStreamlog
        Return Perforce changelist's number of changelist associated with the change.
        Specified by:
        getAssociatedChange in interface IStreamlog
        Returns:
        changelist number.
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: IStreamlog
        Return the description associated with this changelist.
        Specified by:
        getDescription in interface IStreamlog
        Returns:
        textual changelist description, or null if no such description.
      • getStreamIntegList

        public java.util.List<IStreamIntegrationLog> getStreamIntegList()
        Description copied from interface: IStreamlog
        Return Integration history associated with changelist.
        Specified by:
        getStreamIntegList in interface IStreamlog
        Returns:
        List of hash maps describing integrations.