java.lang.Object |
↳ |
com.atlassian.bitbucket.scm.BaseCommand<T> |
Class Overview
Wrapper around Atlassian's process utils.
Summary
Protected Constructors |
|
BaseCommand(List<String> arguments, Map<String, String> environment, File workingDir, CommandExitHandler exitHandler, CommandInputHandler inputHandler, CommandOutputHandler<T> outputHandler, CommandErrorHandler errorHandler)
|
|
BaseCommand(String binary, String command, Map<String, String> environment, File workingDir, CommandExitHandler exitHandler, CommandInputHandler inputHandler, CommandOutputHandler<T> outputHandler, CommandErrorHandler errorHandler)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.bitbucket.scm.AsyncCommand
@Nonnull
Future<T>
|
start()
|
@Nonnull
Command<T>
|
synchronous()
|
|
From interface
com.atlassian.bitbucket.scm.Command
@Nonnull
AsyncCommand<T>
|
asynchronous()
|
@Nullable
T
|
call()
|
void
|
setExecutionTimeout(long arg0)
|
void
|
setExecutionTimeout(Duration arg0)
|
void
|
setIdleTimeout(long arg0)
|
void
|
setIdleTimeout(Duration arg0)
|
void
|
setTimeout(Duration arg0)
|
void
|
setTimeout(long arg0)
|
|
From interface
java.util.concurrent.Callable
|
Protected Constructors
Public Methods
@Nullable
public
T
call
()
public
void
setExecutionTimeout
(long timeoutInSecs)
public
void
setIdleTimeout
(long timeoutInSecs)
@Nonnull
public
Future<T>
start
()
@Nonnull
public
Command<T>
synchronous
()
@Nonnull
public
String
toString
()
Protected Methods
protected
void
addArgument
(Object... options)
protected
void
callExitHandler
()
@Nonnull
protected
OutputHandler
getErrorHandler
()
@Nullable
protected
InputHandler
getInputHandler
()
@Nonnull
protected
OutputHandler
getOutputHandler
()
@Nonnull
protected
ProcessHandler
getProcessHandler
()
@Nullable
protected
abstract
T
getResult
()