Class SVNCommandEnvironment

    • Field Detail

      • DEFAULT_LOG_MESSAGE_HEADER

        private static final java.lang.String DEFAULT_LOG_MESSAGE_HEADER
        See Also:
        Constant Field Values
      • mySetDepth

        private SVNDepth mySetDepth
      • myIsVerbose

        private boolean myIsVerbose
      • myIsUpdate

        private boolean myIsUpdate
      • myIsQuiet

        private boolean myIsQuiet
      • myIsIncremental

        private boolean myIsIncremental
      • myIsHelp

        private boolean myIsHelp
      • myIsIgnoreExternals

        private boolean myIsIgnoreExternals
      • myIsIgnoreKeywords

        private boolean myIsIgnoreKeywords
      • myIsXML

        private boolean myIsXML
      • myIsVersion

        private boolean myIsVersion
      • myChangelist

        private java.lang.String myChangelist
      • myIsNonInteractive

        private boolean myIsNonInteractive
      • myIsForceInteractive

        private boolean myIsForceInteractive
      • myIsNoAuthCache

        private boolean myIsNoAuthCache
      • myUserName

        private java.lang.String myUserName
      • myPassword

        private java.lang.String myPassword
      • myConfigDir

        private java.lang.String myConfigDir
      • myIsDescend

        private boolean myIsDescend
      • myIsNoIgnore

        private boolean myIsNoIgnore
      • myIsRevprop

        private boolean myIsRevprop
      • myIsStrict

        private boolean myIsStrict
      • myIsForce

        private boolean myIsForce
      • myFilePath

        private java.lang.String myFilePath
      • myFileData

        private byte[] myFileData
      • myTargets

        private java.util.List myTargets
      • myEncoding

        private java.lang.String myEncoding
      • myMessage

        private java.lang.String myMessage
      • myIsForceLog

        private boolean myIsForceLog
      • myEditorCommand

        private java.lang.String myEditorCommand
      • myDiffCommand

        private java.lang.String myDiffCommand
      • myRevisionProperties

        private SVNProperties myRevisionProperties
      • myIsNoUnlock

        private boolean myIsNoUnlock
      • myIsDryRun

        private boolean myIsDryRun
      • myIsRecordOnly

        private boolean myIsRecordOnly
      • myIsUseMergeHistory

        private boolean myIsUseMergeHistory
      • myExtensions

        private java.util.Collection myExtensions
      • myIsIgnoreAncestry

        private boolean myIsIgnoreAncestry
      • myIsShowCopiesAsAdds

        private boolean myIsShowCopiesAsAdds
      • myNativeEOL

        private java.lang.String myNativeEOL
      • myIsRelocate

        private boolean myIsRelocate
      • myIsNoAutoProps

        private boolean myIsNoAutoProps
      • myIsAutoProps

        private boolean myIsAutoProps
      • myIsKeepChangelist

        private boolean myIsKeepChangelist
      • myIsParents

        private boolean myIsParents
      • myIsKeepLocal

        private boolean myIsKeepLocal
      • myIsRemove

        private boolean myIsRemove
      • myNewTarget

        private java.lang.String myNewTarget
      • myOldTarget

        private java.lang.String myOldTarget
      • myIsNoticeAncestry

        private boolean myIsNoticeAncestry
      • myIsSummarize

        private boolean myIsSummarize
      • myIsNoDiffDeleted

        private boolean myIsNoDiffDeleted
      • myIsNoDiffAdded

        private boolean myIsNoDiffAdded
      • myLimit

        private long myLimit
      • myIsStopOnCopy

        private boolean myIsStopOnCopy
      • myIsChangeOptionUsed

        private boolean myIsChangeOptionUsed
      • myIsRevisionOptionUsed

        private boolean myIsRevisionOptionUsed
      • myIsWithAllRevprops

        private boolean myIsWithAllRevprops
      • myIsReIntegrate

        private boolean myIsReIntegrate
      • myIsTrustServerCertificate

        private boolean myIsTrustServerCertificate
      • myIsTrustServerCertificateFailures

        private java.util.EnumSet<SVNCertificateFailureKind> myIsTrustServerCertificateFailures
      • myIsAllowMixedRevisions

        private boolean myIsAllowMixedRevisions
      • myRevisionRanges

        private java.util.List myRevisionRanges
      • myChangelists

        private java.util.Collection myChangelists
      • myAuthorOfInterest

        private java.lang.String myAuthorOfInterest
      • myRegularExpression

        private java.lang.String myRegularExpression
      • myConfigOptions

        private java.util.Map myConfigOptions
      • myServersOptions

        private java.util.Map myServersOptions
      • myIsGitDiffFormat

        private boolean myIsGitDiffFormat
      • myIsShowDiff

        private boolean myIsShowDiff
      • myIsPropertiesOnly

        private boolean myIsPropertiesOnly
      • myIsIgnoreProperties

        private boolean myIsIgnoreProperties
      • myIsReverseDiff

        private boolean myIsReverseDiff
      • myIsIgnoreWhitespace

        private boolean myIsIgnoreWhitespace
      • myStripCount

        private int myStripCount
      • myIsShowInhertiedProps

        private boolean myIsShowInhertiedProps
      • myIsIncludeExternals

        private boolean myIsIncludeExternals
      • myShowItem

        private java.lang.String myShowItem
      • myIsNoNewLine

        private boolean myIsNoNewLine
      • myIsPinExternals

        private boolean myIsPinExternals
      • myIsRemoveUnversioned

        private boolean myIsRemoveUnversioned
      • myIsRemoveIgnored

        private boolean myIsRemoveIgnored
    • Constructor Detail

      • SVNCommandEnvironment

        public SVNCommandEnvironment​(java.lang.String programName,
                                     java.io.PrintStream out,
                                     java.io.PrintStream err,
                                     java.io.InputStream in)
    • Method Detail

      • getSVNCommand

        protected SVNCommand getSVNCommand()
      • isReIntegrate

        public boolean isReIntegrate()
      • isChangeOptionUsed

        public boolean isChangeOptionUsed()
      • isRevisionOptionUsed

        public boolean isRevisionOptionUsed()
      • getChangelist

        public java.lang.String getChangelist()
      • getChangelists

        public java.lang.String[] getChangelists()
      • getChangelistsCollection

        public java.util.Collection getChangelistsCollection()
      • isIgnoreKeywords

        public boolean isIgnoreKeywords()
      • getSetDepth

        public SVNDepth getSetDepth()
      • isVerbose

        public boolean isVerbose()
      • isNoIgnore

        public boolean isNoIgnore()
      • isUpdate

        public boolean isUpdate()
      • isQuiet

        public boolean isQuiet()
      • isIncremental

        public boolean isIncremental()
      • isRevprop

        public boolean isRevprop()
      • isStrict

        public boolean isStrict()
      • getRevisionRanges

        public java.util.List getRevisionRanges()
      • getStartRevision

        public SVNRevision getStartRevision()
      • isXML

        public boolean isXML()
      • isVersion

        public boolean isVersion()
      • isForce

        public boolean isForce()
      • getEncoding

        public java.lang.String getEncoding()
      • getFileData

        public byte[] getFileData()
      • getTargets

        public java.util.List getTargets()
      • isForceLog

        public boolean isForceLog()
      • getEditorCommand

        public java.lang.String getEditorCommand()
      • getDiffCommand

        public java.lang.String getDiffCommand()
      • getMessage

        public java.lang.String getMessage()
      • getRevisionProperties

        public SVNProperties getRevisionProperties()
      • isDryRun

        public boolean isDryRun()
      • isIgnoreAncestry

        public boolean isIgnoreAncestry()
      • isShowCopiesAsAdds

        public boolean isShowCopiesAsAdds()
      • isGitDiffFormat

        public boolean isGitDiffFormat()
      • isPropertiesOnly

        public boolean isPropertiesOnly()
      • isIgnoreProperties

        public boolean isIgnoreProperties()
      • isReverseDiff

        public boolean isReverseDiff()
      • isIgnoreWhitespace

        public boolean isIgnoreWhitespace()
      • isShowDiff

        public boolean isShowDiff()
      • isUseMergeHistory

        public boolean isUseMergeHistory()
      • isRecordOnly

        public boolean isRecordOnly()
      • getExtensions

        public java.util.Collection getExtensions()
      • getNativeEOL

        public java.lang.String getNativeEOL()
      • isRelocate

        public boolean isRelocate()
      • isNoUnlock

        public boolean isNoUnlock()
      • isKeepChangelist

        public boolean isKeepChangelist()
      • isParents

        public boolean isParents()
      • isKeepLocal

        public boolean isKeepLocal()
      • isRemove

        public boolean isRemove()
      • isSummarize

        public boolean isSummarize()
      • isNoticeAncestry

        public boolean isNoticeAncestry()
      • isNoDiffDeleted

        public boolean isNoDiffDeleted()
      • isNoDiffAdded

        public boolean isNoDiffAdded()
      • getOldTarget

        public java.lang.String getOldTarget()
      • getNewTarget

        public java.lang.String getNewTarget()
      • getAuthorOfInterest

        public java.lang.String getAuthorOfInterest()
      • isNoAutoProps

        public boolean isNoAutoProps()
      • getRegularExpression

        public java.lang.String getRegularExpression()
      • getLimit

        public long getLimit()
      • isStopOnCopy

        public boolean isStopOnCopy()
      • isAllRevisionProperties

        public boolean isAllRevisionProperties()
      • getStripCount

        public int getStripCount()
      • isAllowMixedRevisions

        public boolean isAllowMixedRevisions()
      • isShowInheritedProps

        public boolean isShowInheritedProps()
      • getShowItem

        public java.lang.String getShowItem()
      • isNoNewLine

        public boolean isNoNewLine()
      • isPinExternals

        public boolean isPinExternals()
      • isRemoveUnversioned

        public boolean isRemoveUnversioned()
      • isRemoveIgnored

        public boolean isRemoveIgnored()
      • isIncludeExternals

        public boolean isIncludeExternals()
      • getRevisionProperties

        public SVNProperties getRevisionProperties​(java.lang.String message,
                                                   SVNCommitItem[] commitables,
                                                   SVNProperties revisionProperties)
                                            throws SVNException
        Description copied from interface: ISVNCommitHandler
        Handles the incoming revision properties and returns filtered revision properties given the paths (represented by commitables) collected for committing and the commit log message.

        Only the returned filtered revision properties will be set on a new committed revision.

        Specified by:
        getRevisionProperties in interface ISVNCommitHandler
        Parameters:
        message - log message for commit
        commitables - paths to commit
        revisionProperties - initial revision properties
        Returns:
        filtered revision properties
        Throws:
        SVNException
      • getCommitMessage

        public java.lang.String getCommitMessage​(java.lang.String message,
                                                 SVNCommitItem[] commitables)
                                          throws SVNException
        Description copied from interface: ISVNCommitHandler
        Handles the incoming initial log message and items intended for a commit and returns a new commit log message.
        Specified by:
        getCommitMessage in interface ISVNCommitHandler
        Parameters:
        message - an initial log message
        commitables - an array of items to be committed
        Returns:
        a new log message string or NULL to cancel commit operation.
        Throws:
        SVNException
      • createCommitMessageTemplate

        private java.lang.String createCommitMessageTemplate​(SVNCommitItem[] items)