public class SVNCommandEnvironment extends AbstractSVNCommandEnvironment implements ISVNCommitHandler
NULL
Constructor and Description |
---|
SVNCommandEnvironment(java.lang.String programName,
java.io.PrintStream out,
java.io.PrintStream err,
java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
protected ISVNAuthenticationManager |
createClientAuthenticationManager() |
protected DefaultSVNOptions |
createClientOptions() |
java.lang.String |
getAuthorOfInterest() |
java.lang.String |
getChangelist() |
java.lang.String[] |
getChangelists() |
java.util.Collection |
getChangelistsCollection() |
protected java.lang.String |
getCommandLineClientName() |
java.lang.String |
getCommitMessage(java.lang.String message,
SVNCommitItem[] commitables)
Handles the incoming initial log message and items intended for a commit and
returns a new commit log message.
|
SVNConflictStats |
getConflictStats() |
SVNDepth |
getDepth() |
java.lang.String |
getDiffCommand() |
SVNDiffOptions |
getDiffOptions() |
java.lang.String |
getEditorCommand() |
java.lang.String |
getEncoding() |
SVNRevision |
getEndRevision() |
java.util.Collection |
getExtensions() |
byte[] |
getFileData() |
long |
getLimit() |
java.lang.String |
getMessage() |
java.lang.String |
getNativeEOL() |
java.lang.String |
getNewTarget() |
java.lang.String |
getOldTarget() |
java.lang.String |
getRegularExpression() |
SVNConflictAcceptPolicy |
getResolveAccept() |
SVNProperties |
getRevisionProperties() |
SVNProperties |
getRevisionProperties(java.lang.String message,
SVNCommitItem[] commitables,
SVNProperties revisionProperties)
Handles the incoming revision properties and returns filtered revision properties given the paths
(represented by
commitables ) collected for committing and the commit log message. |
java.util.List |
getRevisionRanges() |
SVNDepth |
getSetDepth() |
java.lang.String |
getShowItem() |
SVNShowRevisionType |
getShowRevisionType() |
SVNRevision |
getStartRevision() |
int |
getStripCount() |
protected SVNCommand |
getSVNCommand() |
java.util.List |
getTargets() |
void |
initClientManager() |
protected void |
initOption(SVNOptionValue optionValue) |
protected void |
initOptions(SVNCommandLine commandLine) |
boolean |
isAllowMixedRevisions() |
boolean |
isAllRevisionProperties() |
boolean |
isChangeOptionUsed() |
boolean |
isDryRun() |
boolean |
isForce() |
boolean |
isForceLog() |
boolean |
isGitDiffFormat() |
boolean |
isIgnoreAncestry() |
boolean |
isIgnoreKeywords() |
boolean |
isIgnoreProperties() |
boolean |
isIgnoreWhitespace() |
boolean |
isIncludeExternals() |
boolean |
isIncremental() |
boolean |
isKeepChangelist() |
boolean |
isKeepLocal() |
boolean |
isNoAutoProps() |
boolean |
isNoDiffAdded() |
boolean |
isNoDiffDeleted() |
boolean |
isNoIgnore() |
boolean |
isNoNewLine() |
boolean |
isNoticeAncestry() |
boolean |
isNoUnlock() |
boolean |
isParents() |
boolean |
isPinExternals() |
boolean |
isPropertiesOnly() |
boolean |
isQuiet() |
boolean |
isRecordOnly() |
boolean |
isReIntegrate() |
boolean |
isRelocate() |
boolean |
isRemove() |
boolean |
isRemoveIgnored() |
boolean |
isRemoveUnversioned() |
boolean |
isReverseDiff() |
boolean |
isRevisionOptionUsed() |
boolean |
isRevprop() |
boolean |
isShowCopiesAsAdds() |
boolean |
isShowDiff() |
boolean |
isShowInheritedProps() |
boolean |
isStopOnCopy() |
boolean |
isStrict() |
boolean |
isSummarize() |
boolean |
isUpdate() |
boolean |
isUseMergeHistory() |
boolean |
isVerbose() |
boolean |
isVersion() |
boolean |
isXML() |
protected java.lang.String |
refineCommandName(java.lang.String commandName,
SVNCommandLine commandLine) |
protected void |
validateOptions(SVNCommandLine commandLine) |
checkCancelled, combineTargets, createClientManager, dispose, getArguments, getClientManager, getCommand, getCommandName, getCommandName, getErr, getIn, getOptions, getOut, getProgramName, getRelativePath, getURLFromTarget, handleError, handleWarning, init, initCommand, isVersioned, parseRevision, popArgument, printCommitInfo, readFromFile, run, setArguments, setCancelled
public SVNCommandEnvironment(java.lang.String programName, java.io.PrintStream out, java.io.PrintStream err, java.io.InputStream in)
public void initClientManager() throws SVNException
initClientManager
in class AbstractSVNCommandEnvironment
SVNException
protected java.lang.String refineCommandName(java.lang.String commandName, SVNCommandLine commandLine) throws SVNException
refineCommandName
in class AbstractSVNCommandEnvironment
SVNException
protected DefaultSVNOptions createClientOptions() throws SVNException
createClientOptions
in class AbstractSVNCommandEnvironment
SVNException
protected ISVNAuthenticationManager createClientAuthenticationManager()
createClientAuthenticationManager
in class AbstractSVNCommandEnvironment
protected void initOptions(SVNCommandLine commandLine) throws SVNException
initOptions
in class AbstractSVNCommandEnvironment
SVNException
protected void initOption(SVNOptionValue optionValue) throws SVNException
initOption
in class AbstractSVNCommandEnvironment
SVNException
protected SVNCommand getSVNCommand()
protected void validateOptions(SVNCommandLine commandLine) throws SVNException
validateOptions
in class AbstractSVNCommandEnvironment
SVNException
protected java.lang.String getCommandLineClientName()
getCommandLineClientName
in class AbstractSVNCommandEnvironment
public boolean isReIntegrate()
public SVNShowRevisionType getShowRevisionType()
public boolean isChangeOptionUsed()
public boolean isRevisionOptionUsed()
public java.lang.String getChangelist()
public java.lang.String[] getChangelists()
public java.util.Collection getChangelistsCollection()
public boolean isIgnoreKeywords()
public SVNDepth getDepth()
public SVNDepth getSetDepth()
public boolean isVerbose()
public boolean isNoIgnore()
public boolean isUpdate()
public boolean isQuiet()
public boolean isIncremental()
public boolean isRevprop()
public boolean isStrict()
public java.util.List getRevisionRanges()
public SVNRevision getStartRevision()
public SVNRevision getEndRevision()
public boolean isXML()
public boolean isVersion()
public boolean isForce()
public java.lang.String getEncoding()
public byte[] getFileData()
public java.util.List getTargets()
public boolean isForceLog()
public java.lang.String getEditorCommand()
public java.lang.String getDiffCommand()
public java.lang.String getMessage()
public SVNProperties getRevisionProperties()
public boolean isDryRun()
public boolean isIgnoreAncestry()
public boolean isShowCopiesAsAdds()
public boolean isGitDiffFormat()
public boolean isPropertiesOnly()
public boolean isIgnoreProperties()
public boolean isReverseDiff()
public boolean isIgnoreWhitespace()
public boolean isShowDiff()
public boolean isUseMergeHistory()
public boolean isRecordOnly()
public java.util.Collection getExtensions()
public java.lang.String getNativeEOL()
public boolean isRelocate()
public boolean isNoUnlock()
public boolean isKeepChangelist()
public boolean isParents()
public boolean isKeepLocal()
public SVNConflictAcceptPolicy getResolveAccept()
public boolean isRemove()
public boolean isSummarize()
public boolean isNoticeAncestry()
public boolean isNoDiffDeleted()
public boolean isNoDiffAdded()
public java.lang.String getOldTarget()
public java.lang.String getNewTarget()
public java.lang.String getAuthorOfInterest()
public boolean isNoAutoProps()
public java.lang.String getRegularExpression()
public long getLimit()
public boolean isStopOnCopy()
public boolean isAllRevisionProperties()
public int getStripCount()
public SVNDiffOptions getDiffOptions() throws SVNException
SVNException
public boolean isAllowMixedRevisions()
public boolean isShowInheritedProps()
public java.lang.String getShowItem()
public boolean isNoNewLine()
public boolean isPinExternals()
public boolean isRemoveUnversioned()
public boolean isRemoveIgnored()
public boolean isIncludeExternals()
public SVNConflictStats getConflictStats()
public SVNProperties getRevisionProperties(java.lang.String message, SVNCommitItem[] commitables, SVNProperties revisionProperties) throws SVNException
ISVNCommitHandler
commitables
) collected for committing and the commit log message.
Only the returned filtered revision properties will be set on a new committed revision.
getRevisionProperties
in interface ISVNCommitHandler
message
- log message for commitcommitables
- paths to commitrevisionProperties
- initial revision propertiesSVNException
public java.lang.String getCommitMessage(java.lang.String message, SVNCommitItem[] commitables) throws SVNException
ISVNCommitHandler
getCommitMessage
in interface ISVNCommitHandler
message
- an initial log messagecommitables
- an array of items to be committedSVNException
Copyright © 2020. All rights reserved.