com.android.ide.common.process
Class ProcessInfoBuilder.JavaProcessInfoImpl

java.lang.Object
  extended by com.android.ide.common.process.ProcessInfoBuilder.JavaProcessInfoImpl
All Implemented Interfaces:
JavaProcessInfo, ProcessInfo
Enclosing class:
ProcessInfoBuilder

protected static class ProcessInfoBuilder.JavaProcessInfoImpl
extends java.lang.Object
implements JavaProcessInfo


Constructor Summary
ProcessInfoBuilder.JavaProcessInfoImpl(java.lang.String classpath, java.lang.String main, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,java.lang.Object> environment, java.util.List<java.lang.String> jvmArgs)
           
 
Method Summary
 java.util.List<java.lang.String> getArgs()
          The command line arguments.
 java.lang.String getClasspath()
           
 java.util.Map<java.lang.String,java.lang.Object> getEnvironment()
          The environment variables to set when running the process.
 java.lang.String getExecutable()
          The executable to run.
 java.util.List<java.lang.String> getJvmArgs()
          The JVM args to use.
 java.lang.String getMainClass()
          The main Java Class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessInfoBuilder.JavaProcessInfoImpl

public ProcessInfoBuilder.JavaProcessInfoImpl(@NonNull
                                              java.lang.String classpath,
                                              @NonNull
                                              java.lang.String main,
                                              @NonNull
                                              java.util.List<java.lang.String> args,
                                              @NonNull
                                              java.util.Map<java.lang.String,java.lang.Object> environment,
                                              @NonNull
                                              java.util.List<java.lang.String> jvmArgs)
Method Detail

getExecutable

@NonNull
public java.lang.String getExecutable()
Description copied from interface: ProcessInfo
The executable to run.

Specified by:
getExecutable in interface ProcessInfo

getClasspath

@NonNull
public java.lang.String getClasspath()
Specified by:
getClasspath in interface JavaProcessInfo

getMainClass

@NonNull
public java.lang.String getMainClass()
Description copied from interface: JavaProcessInfo
The main Java Class. This is optional.

Specified by:
getMainClass in interface JavaProcessInfo

getArgs

@NonNull
public java.util.List<java.lang.String> getArgs()
Description copied from interface: ProcessInfo
The command line arguments.

Specified by:
getArgs in interface ProcessInfo

getEnvironment

@NonNull
public java.util.Map<java.lang.String,java.lang.Object> getEnvironment()
Description copied from interface: ProcessInfo
The environment variables to set when running the process. The objects in the map are used through their toString() representation.

Specified by:
getEnvironment in interface ProcessInfo

getJvmArgs

@NonNull
public java.util.List<java.lang.String> getJvmArgs()
Description copied from interface: JavaProcessInfo
The JVM args to use.

Specified by:
getJvmArgs in interface JavaProcessInfo