net.ripe.rpki.commons.rsync
Class Command
java.lang.Object
java.lang.Thread
net.ripe.rpki.commons.rsync.Command
- All Implemented Interfaces:
- Runnable
public class Command
- extends Thread
|
Constructor Summary |
Command(List<String> args)
|
Command(List<String> args,
Map<String,String> envp)
|
Command(List<String> args,
Map<String,String> envp,
String execdir)
|
Command(String command)
|
Command(String command,
Map<String,String> envp)
|
Command(String command,
Map<String,String> envp,
String execdir)
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
NOT_EXECUTED
public static final int NOT_EXECUTED
- See Also:
- Constant Field Values
COMMAND_FAILED
public static final int COMMAND_FAILED
- See Also:
- Constant Field Values
Command
public Command(String command)
Command
public Command(String command,
Map<String,String> envp)
Command
public Command(String command,
Map<String,String> envp,
String execdir)
Command
public Command(List<String> args)
Command
public Command(List<String> args,
Map<String,String> envp)
Command
public Command(List<String> args,
Map<String,String> envp,
String execdir)
execute
public void execute()
isCompleted
public boolean isCompleted()
wasStarted
public boolean wasStarted()
getExitStatus
public int getExitStatus()
getOutputLines
public String[] getOutputLines()
getOutputs
public List<String> getOutputs()
getErrorLines
public String[] getErrorLines()
getErrors
public List<String> getErrors()
getException
public Exception getException()
Copyright © 2008-2012 RIPE NCC, the Netherlands. All Rights Reserved.