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
SVNException
public boolean run()
protected void initOptions(SVNCommandLine commandLine) throws SVNException
SVNException
protected abstract void initOption(SVNOptionValue optionValue) throws SVNException
SVNException
protected void validateOptions(SVNCommandLine commandLine) throws SVNException
SVNException
protected void initCommand(SVNCommandLine commandLine) throws SVNException
SVNException
protected String getCommandName(SVNCommandLine commandLine) throws SVNException
SVNException
protected abstract String refineCommandName(String commandName, SVNCommandLine commandLine) throws SVNException
SVNException
protected abstract DefaultSVNOptions createClientOptions() throws SVNException
SVNException
protected abstract ISVNAuthenticationManager createClientAuthenticationManager()
protected abstract String getCommandLineClientName()
public void initClientManager() throws SVNException
SVNException
public void dispose()
public List<String> combineTargets(Collection targets, boolean warnReserved) throws SVNException
SVNException
public SVNRevision[] parseRevision(String revStr)
public byte[] readFromFile(File file) throws SVNException
SVNException
public void handleError(SVNErrorMessage err)
public boolean handleWarning(SVNErrorMessage err, SVNErrorCode[] warningCodes, boolean quiet) throws SVNException
SVNException
public SVNURL getURLFromTarget(String target) throws SVNException
SVNException
public boolean isVersioned(String target) throws SVNException
SVNException
public void printCommitInfo(SVNCommitInfo info)
public void checkCancelled() throws SVNCancelException
ISVNCanceller
checkCancelled
in interface ISVNCanceller
SVNCancelException
public void setCancelled()
public SVNClientManager createClientManager()
Copyright © 2022. All rights reserved.