Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.jdeveloper.vcs.migrate
Class VCSShellRunner

java.lang.Object
  extended by oracle.jdeveloper.vcs.migrate.VCSShellRunner


public class VCSShellRunner
extends java.lang.Object

Utility class for running version client processes. This class provides a partial bridge between SCMShellRunner (now legacy) and its replacement, SimpleProcess in the oracle.ide.runner package, to ease migration to the 9.0.5 VCS framework. Some aspects of SCMShellRunner could not be bridged, or are not replaced here for implementation reasons:

Since:
9.0.5

Constructor Summary
VCSShellRunner()
           

 

Method Summary
 void addErrorMonitor(VCSStreamMonitor monitor)
           
 void addOutputMonitor(VCSStreamMonitor monitor)
           
 void clearMonitors()
           
protected  java.lang.String[] createCommandSpi(java.lang.String[] cmdArray)
           
protected  java.lang.String createCommandStringForLog(java.lang.String[] cmdArray)
           
 void exec()
           
 int execAndWait()
           
 java.lang.String[] getCmdArray()
           
 java.util.Collection<java.lang.String> getCmdList()
           
 java.lang.String getCommand()
           
 java.io.File getDirectory()
           
 java.net.URL getDirURL()
           
 java.lang.String[] getEnvpArray()
           
 java.util.Map<java.lang.String,java.lang.String> getEnvpMap()
           
 java.lang.String getErrorText()
           
 java.lang.Integer getExitCode()
           
 java.lang.String getInputData()
           
 byte[] getOutputBytes()
           
 java.lang.String getOutputText()
           
 SimpleProcess getSimpleProcess()
           
 long getTimeout()
           
 boolean isTimedOut()
           
protected  void preExecSpi()
           
 void removeErrorMonitor(VCSStreamMonitor monitor)
           
 void removeOutputMonitor(VCSStreamMonitor monitor)
           
 void setBufferOutputBinary(boolean bufferOutputBinary)
           
 void setCmdArray(java.lang.String[] cmdArray)
           
 void setCmdList(java.util.Collection<java.lang.String> cmdList)
           
 void setCommand(java.lang.String command)
           
 void setDirectory(java.io.File dir)
           
 void setDirURL(java.net.URL dir)
           
 void setEnvpArray(java.lang.String[] envpArray)
           
 void setEnvpMap(java.util.Map<java.lang.String,java.lang.String> envpMap)
           
 void setInputData(java.lang.String inputData)
           
protected  void setSimpleProcess(SimpleProcess simpleProcess)
           
 void setThreadPool(VCSThreadPool threadPool)
           
 void setTimeout(long timeout)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VCSShellRunner

public VCSShellRunner()

Method Detail

setThreadPool

public void setThreadPool(VCSThreadPool threadPool)

setBufferOutputBinary

public void setBufferOutputBinary(boolean bufferOutputBinary)

setCommand

public void setCommand(java.lang.String command)

setCmdArray

public void setCmdArray(java.lang.String[] cmdArray)

setCmdList

public void setCmdList(java.util.Collection<java.lang.String> cmdList)

setEnvpArray

public void setEnvpArray(java.lang.String[] envpArray)

setEnvpMap

public void setEnvpMap(java.util.Map<java.lang.String,java.lang.String> envpMap)

setDirectory

public void setDirectory(java.io.File dir)

setDirURL

public void setDirURL(java.net.URL dir)

setTimeout

public void setTimeout(long timeout)

getCommand

public java.lang.String getCommand()

getCmdArray

public java.lang.String[] getCmdArray()

getCmdList

public java.util.Collection<java.lang.String> getCmdList()

getEnvpArray

public java.lang.String[] getEnvpArray()

getEnvpMap

public java.util.Map<java.lang.String,java.lang.String> getEnvpMap()

getDirectory

public java.io.File getDirectory()

getDirURL

public java.net.URL getDirURL()

getTimeout

public long getTimeout()

addOutputMonitor

public void addOutputMonitor(VCSStreamMonitor monitor)

removeOutputMonitor

public void removeOutputMonitor(VCSStreamMonitor monitor)

addErrorMonitor

public void addErrorMonitor(VCSStreamMonitor monitor)

removeErrorMonitor

public void removeErrorMonitor(VCSStreamMonitor monitor)

clearMonitors

public void clearMonitors()

createCommandSpi

protected java.lang.String[] createCommandSpi(java.lang.String[] cmdArray)

createCommandStringForLog

protected java.lang.String createCommandStringForLog(java.lang.String[] cmdArray)

preExecSpi

protected void preExecSpi()
                   throws java.lang.Exception
Throws:
java.lang.Exception

setInputData

public void setInputData(java.lang.String inputData)

getInputData

public java.lang.String getInputData()

getSimpleProcess

public SimpleProcess getSimpleProcess()

getExitCode

public java.lang.Integer getExitCode()

getErrorText

public java.lang.String getErrorText()

getOutputText

public java.lang.String getOutputText()

getOutputBytes

public byte[] getOutputBytes()

isTimedOut

public boolean isTimedOut()

exec

public void exec()
          throws java.lang.Exception
Throws:
java.lang.Exception

execAndWait

public int execAndWait()
                throws java.lang.Exception
Throws:
java.lang.Exception

setSimpleProcess

protected void setSimpleProcess(SimpleProcess simpleProcess)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.