public abstract class AbstractSVNCommandEnvironment extends Object implements ISVNCanceller
NULL| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSVNCommandEnvironment(String programName,
PrintStream out,
PrintStream err,
InputStream in) |
protected AbstractSVNCommandEnvironment(String programName, PrintStream out, PrintStream err, InputStream in)
public String getProgramName()
public PrintStream getOut()
public PrintStream getErr()
public InputStream getIn()
public SVNClientManager getClientManager()
public DefaultSVNOptions getOptions()
public List getArguments()
public AbstractSVNCommand getCommand()
public String getCommandName()
public String popArgument()
protected void setArguments(List newArguments)
public void init(SVNCommandLine commandLine) throws SVNException
SVNExceptionpublic boolean run()
protected void initOptions(SVNCommandLine commandLine) throws SVNException
SVNExceptionprotected abstract void initOption(SVNOptionValue optionValue) throws SVNException
SVNExceptionprotected void validateOptions(SVNCommandLine commandLine) throws SVNException
SVNExceptionprotected void initCommand(SVNCommandLine commandLine) throws SVNException
SVNExceptionprotected String getCommandName(SVNCommandLine commandLine) throws SVNException
SVNExceptionprotected abstract String refineCommandName(String commandName, SVNCommandLine commandLine) throws SVNException
SVNExceptionprotected abstract DefaultSVNOptions createClientOptions() throws SVNException
SVNExceptionprotected abstract ISVNAuthenticationManager createClientAuthenticationManager()
protected abstract String getCommandLineClientName()
public void initClientManager()
throws SVNException
SVNExceptionpublic void dispose()
public List<String> combineTargets(Collection targets, boolean warnReserved) throws SVNException
SVNExceptionpublic SVNRevision[] parseRevision(String revStr)
public byte[] readFromFile(File file) throws SVNException
SVNExceptionpublic void handleError(SVNErrorMessage err)
public boolean handleWarning(SVNErrorMessage err, SVNErrorCode[] warningCodes, boolean quiet) throws SVNException
SVNExceptionpublic SVNURL getURLFromTarget(String target) throws SVNException
SVNExceptionpublic boolean isVersioned(String target) throws SVNException
SVNExceptionpublic void printCommitInfo(SVNCommitInfo info)
public void checkCancelled()
throws SVNCancelException
ISVNCancellercheckCancelled in interface ISVNCancellerSVNCancelExceptionpublic void setCancelled()
public SVNClientManager createClientManager()
Copyright © 2025. All rights reserved.