terp - the Codemesh Modular
Template Interpreter v1.3.337

com.codemesh.terp.eval.executors
Class CodegenExecutor

java.lang.Object
  extended by com.codemesh.terp.api.Executor.AbstractExecutor<ProcessExecutor.Result>
      extended by com.codemesh.terp.eval.executors.ProcessExecutor
          extended by com.codemesh.terp.eval.executors.ShellExecutor
              extended by com.codemesh.terp.eval.executors.CodegenExecutor
All Implemented Interfaces:
Executor<ProcessExecutor.Result>

public class CodegenExecutor
extends ShellExecutor

An executor for the code generator.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
ProcessExecutor.Result
 
Nested classes/interfaces inherited from interface com.codemesh.terp.api.Executor
Executor.AbstractExecutor<T>, Executor.ForMethod
 
Field Summary
static java.lang.String COMMAND
           
static java.lang.String EXECUTABLE
           
static java.lang.String VERSION
           
 
Fields inherited from class com.codemesh.terp.eval.executors.ShellExecutor
theAddedEnvSettings, theExecFlag, theRemovedEnvSettings, theShell, TO_STRING
 
Fields inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
EOL, IS_WINDOWS, logger, theEnvironment, theExecutable, theTerpCmdVar, theWorkingDir, TO_FILE, TO_LIST
 
Constructor Summary
CodegenExecutor()
           
 
Method Summary
static CodegenExecutor fromMap(CodegenExecutor exec, java.util.Map<java.lang.String,java.lang.Object> map)
           
static CodegenExecutor fromMap(java.util.Map<java.lang.String,java.lang.Object> map)
           
 Version getVersion()
           
 java.lang.String[] marshallArguments(java.util.List<java.lang.Object> args)
           
 void setCommand(java.lang.String command)
           
 
Methods inherited from class com.codemesh.terp.eval.executors.ShellExecutor
addToEnvironment, createEnvironment, getExecFlag, getShell, removeFromEnvironment, setExecFlag, setShell, shellFromFile, shellFromMap, shellFromMap, shellFromString
 
Methods inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
appendToEnvironment, execute, execute, fromFile, fromMap, fromString, getEnvironment, getExecutable, getWorkingDir, matches, setEnvironment, setExecutable, setWorkingDir
 
Methods inherited from class com.codemesh.terp.api.Executor.AbstractExecutor
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXECUTABLE

public static final java.lang.String EXECUTABLE
See Also:
Constant Field Values

COMMAND

public static final java.lang.String COMMAND
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

CodegenExecutor

public CodegenExecutor()
Method Detail

fromMap

public static CodegenExecutor fromMap(java.util.Map<java.lang.String,java.lang.Object> map)

fromMap

public static CodegenExecutor fromMap(CodegenExecutor exec,
                                      java.util.Map<java.lang.String,java.lang.Object> map)

marshallArguments

public java.lang.String[] marshallArguments(java.util.List<java.lang.Object> args)
Overrides:
marshallArguments in class ShellExecutor

setCommand

public void setCommand(java.lang.String command)

getVersion

public Version getVersion()

terp - the Codemesh Modular
Template Interpreter v1.3.337

Copyright © 2008-2016 by Codemesh, Inc. All Rights Reserved.