terp - the Codemesh Modular
Template Interpreter v1.3.337

com.codemesh.terp.data
Class Bc.BcExecutor

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.data.Bc.BcExecutor
All Implemented Interfaces:
Executor<ProcessExecutor.Result>, Named, java.lang.Comparable<Bc.BcExecutor>
Enclosing interface:
Bc

public static class Bc.BcExecutor
extends ProcessExecutor
implements java.lang.Comparable<Bc.BcExecutor>, Named

An executor for Boundschecker, the utility used for error checking on Windows.

See Also:
BcConverter, the converter creating instances of this type, is registered under the ^bc alias.

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
protected static java.util.List<Bc.BcExecutor> ALL_BCS
           
protected  Version theVersion
           
 
Fields inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
EOL, IS_WINDOWS, logger, theEnvironment, theExecutable, theTerpCmdVar, theWorkingDir, TO_FILE, TO_LIST
 
Constructor Summary
Bc.BcExecutor()
           
 
Method Summary
static Bc.BcExecutor bcFromFile(java.io.File executableOrHome)
           
static Bc.BcExecutor bcFromMap(Bc.BcExecutor exec, java.util.Map<java.lang.String,java.lang.Object> map)
           
static Bc.BcExecutor bcFromMap(java.util.Map<java.lang.String,java.lang.Object> map)
           
static Bc.BcExecutor bcFromString(java.lang.String executableOrHome)
           
 int compareTo(Bc.BcExecutor o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns the named object's name.
 int hashCode()
           
static void populate()
           
 java.lang.String toString()
           
 
Methods inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
appendToEnvironment, execute, execute, fromFile, fromMap, fromMap, fromString, getEnvironment, getExecutable, getWorkingDir, marshallArguments, matches, setEnvironment, setExecutable, setWorkingDir
 
Methods inherited from class com.codemesh.terp.api.Executor.AbstractExecutor
execute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

theVersion

protected Version theVersion

ALL_BCS

protected static final java.util.List<Bc.BcExecutor> ALL_BCS
Constructor Detail

Bc.BcExecutor

public Bc.BcExecutor()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Named
Returns the named object's name.

Specified by:
getName in interface Named
Returns:
the name.

compareTo

public int compareTo(Bc.BcExecutor o)
Specified by:
compareTo in interface java.lang.Comparable<Bc.BcExecutor>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

populate

public static void populate()

bcFromString

public static Bc.BcExecutor bcFromString(java.lang.String executableOrHome)

bcFromFile

public static Bc.BcExecutor bcFromFile(java.io.File executableOrHome)

bcFromMap

public static Bc.BcExecutor bcFromMap(java.util.Map<java.lang.String,java.lang.Object> map)

bcFromMap

public static Bc.BcExecutor bcFromMap(Bc.BcExecutor exec,
                                      java.util.Map<java.lang.String,java.lang.Object> map)

terp - the Codemesh Modular
Template Interpreter v1.3.337

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