Skip navigation links
SVNKit Home
org.tmatesoft.svn.core.wc2

Class SvnLog

    • Method Detail

      • getLimit

        public long getLimit()
        Returns a maximum number of log entries to be processed
        Returns:
        maximum number of entries
      • setLimit

        public void setLimit(long limit)
        Sets a maximum number of log entries to be processed
        Parameters:
        limit - maximum number of entries
      • isUseMergeHistory

        public boolean isUseMergeHistory()
        Returns whether the log information for revisions which have been merged to targetPaths will also be returned.
        Returns:
        true if merged revisions should be also reported, otherwise false
      • setUseMergeHistory

        public void setUseMergeHistory(boolean useMergeHistory)
        Sets whether the log information for revisions which have been merged to targetPaths will also be returned.
        Parameters:
        useMergeHistory - true if merged revisions should be also reported, otherwise false
      • isDiscoverChangedPaths

        public boolean isDiscoverChangedPaths()
        Returns whether to report of all changed paths for every revision being processed If true then the changed paths Map argument will be passed to a constructor of SVNLogEntry.
        Returns:
        true if all changed paths for every revision being processed should be reported, otherwise false
      • setDiscoverChangedPaths

        public void setDiscoverChangedPaths(boolean discoverChangedPaths)
        Sets whether to report of all changed paths for every revision being processed If true then the changed paths Map argument will be passed to a constructor of SVNLogEntry.
        Parameters:
        discoverChangedPaths - true if all changed paths for every revision being processed should be reported, otherwise false
      • isStopOnCopy

        public boolean isStopOnCopy()
        Returns whether to copy history (if any exists) should be traversed while harvesting revision logs for each targetPath.
        Returns:
        true if not to cross copies while traversing history, otherwise copies history will be also included into processing
      • setStopOnCopy

        public void setStopOnCopy(boolean stopOnCopy)
        Sets whether to copy history (if any exists) should be traversed while harvesting revision logs for each targetPath.
        Parameters:
        stopOnCopy - true if not to cross copies while traversing history, otherwise copies history will be also included into processing
      • getRevisionRanges

        public java.util.Collection<SvnRevisionRange> getRevisionRanges()
        Returns all revision ranges for those log should be reported.
        Returns:
        collection of SVNRevisionRange objects
      • setRevisionRanges

        public void setRevisionRanges(java.util.Collection<SvnRevisionRange> revisionRanges)
        Sets all revision ranges for those log should be reported.
        Parameters:
        revisionRanges - collection of SVNRevisionRange objects
      • getTargetPaths

        public java.lang.String[] getTargetPaths()
        Returns all relative paths what should be reported for each target.
        Returns:
        relative paths of the target
      • setTargetPaths

        public void setTargetPaths(java.lang.String[] targetPaths)
        Sets all relative paths what should be reported for each target.
        Parameters:
        targetPaths - relative paths of the target
      • getRevisionProperties

        public java.lang.String[] getRevisionProperties()
        Returns what properties should be retrieved. If revisionProperties is null, retrieves all revision properties; else retrieves only the revision properties named in the array (i.e. retrieves none if the array is empty).
        Returns:
        array of names of the properties
      • setRevisionProperties

        public void setRevisionProperties(java.lang.String[] revisionProperties)
        Sets what properties should be retrieved. If revisionProperties is null, retrieves all revision properties; else retrieves only the revision properties named in the array (i.e. retrieves none if the array is empty).
        Parameters:
        revisionProperties - array of names of the properties
      • addRange

        public void addRange(SvnRevisionRange range)
        Adds the revision range to the operation's revision ranges.
        Parameters:
        range - revision range
      • isChangesWorkingCopy

        public boolean isChangesWorkingCopy()
        Gets whether the operation changes working copy
        Overrides:
        isChangesWorkingCopy in class SvnOperation<SVNLogEntry>
        Returns:
        true if the operation changes the working copy, otherwise false

Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.