terp - the Codemesh Modular
Template Interpreter v1.3.309

com.codemesh.terp.data
Class VisualBasic.VbExecutor

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

public static class VisualBasic.VbExecutor
extends ShellExecutor
implements Named, Versioned, java.lang.Comparable<VisualBasic.VbExecutor>


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.util.Map<Dotnet.DotnetFramework,VisualBasic.VbExecutor> ALL_COMPILERS
           
protected  Dotnet.DotnetFramework theDotnetFramework
           
protected  java.io.File theVbExecutable
           
protected  Version theVersion
           
protected static ToVersion TO_VERSION
           
protected static java.util.List<java.lang.Object> VERSION_ARGS
           
protected static java.util.regex.Pattern VERSION_FORMAT
           
 
Fields inherited from class com.codemesh.terp.eval.executors.ShellExecutor
theExecFlag, theShell, TO_STRING
 
Fields inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
EOL, IS_WINDOWS, logger, theEnvironment, theExecutable, theWorkingDir, TO_FILE, TO_LIST
 
Constructor Summary
VisualBasic.VbExecutor()
           
 
Method Summary
 int compareTo(VisualBasic.VbExecutor o)
           
static VisualBasic.VbExecutor csharpFromMap(VisualBasic.VbExecutor result, java.util.Map<java.lang.String,java.lang.Object> map)
           
 boolean equals(java.lang.Object obj)
           
 java.io.File getCompiler()
           
 Dotnet.DotnetFramework getDotnet()
           
 Dotnet.DotnetFramework getDotnetFramework()
           
 java.io.File getExecutable()
          Returns the executable.
 Dotnet.DotnetFramework getFramework()
           
 java.lang.String getName()
          Returns the named object's name.
 Version getVersion()
           
 int hashCode()
           
static VisualBasic.VbExecutor locate(VisualBasic.VbExecutor vbe)
           
 java.lang.String[] marshallArguments(java.util.List<java.lang.Object> args)
           
static void populate()
           
 void setCompiler(java.io.File exec)
           
 void setDotnetFramework(Dotnet.DotnetFramework framework)
           
 void setExecutable(java.io.File exec)
          Sets the file to execute.
 void setVersion(Version version)
           
 java.lang.String toString()
           
static VisualBasic.VbExecutor vbFromDotnetFramework(Dotnet.DotnetFramework dnf)
           
static VisualBasic.VbExecutor vbFromFile(java.io.File execOrDir)
           
static VisualBasic.VbExecutor vbFromMap(java.util.Map<java.lang.String,java.lang.Object> map)
           
static VisualBasic.VbExecutor vbFromString(java.lang.String dir)
           
static VisualBasic.VbExecutor vbFromVersion(Version vers)
           
 
Methods inherited from class com.codemesh.terp.eval.executors.ShellExecutor
createEnvironment, getExecFlag, getShell, setExecFlag, setShell, shellFromFile, shellFromMap, shellFromMap, shellFromString
 
Methods inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
execute, execute, fromFile, fromMap, fromMap, fromString, getEnvironment, getWorkingDir, matches, setEnvironment, 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

ALL_COMPILERS

public static final java.util.Map<Dotnet.DotnetFramework,VisualBasic.VbExecutor> ALL_COMPILERS

VERSION_ARGS

protected static final java.util.List<java.lang.Object> VERSION_ARGS

VERSION_FORMAT

protected static final java.util.regex.Pattern VERSION_FORMAT

TO_VERSION

protected static final ToVersion TO_VERSION

theVbExecutable

protected java.io.File theVbExecutable

theVersion

protected Version theVersion

theDotnetFramework

protected Dotnet.DotnetFramework theDotnetFramework
Constructor Detail

VisualBasic.VbExecutor

public VisualBasic.VbExecutor()
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.

getCompiler

public java.io.File getCompiler()

setCompiler

public void setCompiler(java.io.File exec)

getExecutable

public java.io.File getExecutable()
Description copied from class: ProcessExecutor
Returns the executable.

Overrides:
getExecutable in class ProcessExecutor
Returns:
the executable.

setExecutable

public void setExecutable(java.io.File exec)
Description copied from class: ProcessExecutor
Sets the file to execute. The executable needs to be specified for the execution to succeed.

Overrides:
setExecutable in class ProcessExecutor
Parameters:
exec - the executable.

getVersion

public Version getVersion()
Specified by:
getVersion in interface Versioned

setVersion

public void setVersion(Version version)

getDotnet

public Dotnet.DotnetFramework getDotnet()

getDotnetFramework

public Dotnet.DotnetFramework getDotnetFramework()

getFramework

public Dotnet.DotnetFramework getFramework()

setDotnetFramework

public void setDotnetFramework(Dotnet.DotnetFramework framework)

populate

public static void populate()

locate

public static VisualBasic.VbExecutor locate(VisualBasic.VbExecutor vbe)

vbFromString

public static VisualBasic.VbExecutor vbFromString(java.lang.String dir)

vbFromFile

public static VisualBasic.VbExecutor vbFromFile(java.io.File execOrDir)

vbFromVersion

public static VisualBasic.VbExecutor vbFromVersion(Version vers)

vbFromDotnetFramework

public static VisualBasic.VbExecutor vbFromDotnetFramework(Dotnet.DotnetFramework dnf)

vbFromMap

public static VisualBasic.VbExecutor vbFromMap(java.util.Map<java.lang.String,java.lang.Object> map)

csharpFromMap

public static VisualBasic.VbExecutor csharpFromMap(VisualBasic.VbExecutor result,
                                                   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

equals

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

hashCode

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

compareTo

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

toString

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

terp - the Codemesh Modular
Template Interpreter v1.3.309

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