terp - the Codemesh Modular
Template Interpreter v1.3.304

com.codemesh.terp.data
Class Gprof.GprofExecutor

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

public static class Gprof.GprofExecutor
extends ProcessExecutor
implements java.lang.Comparable<Gprof.GprofExecutor>, Named

An executor for gprof, the utility used for simple perofrmance profiling and call graphing on most Unix/Linux platforms.

See Also:
the converter creating instances of this type, registered under the ^gprof 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<Gprof.GprofExecutor> ALL_GPROFS
           
protected  Version theVersion
           
 
Fields inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
EOL, IS_WINDOWS, logger, theEnvironment, theExecutable, theWorkingDir, TO_FILE, TO_LIST
 
Constructor Summary
Gprof.GprofExecutor()
           
 
Method Summary
 int compareTo(Gprof.GprofExecutor o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns the named object's name.
static Gprof.GprofExecutor gprofFromFile(java.io.File executableOrHome)
           
static Gprof.GprofExecutor gprofFromMap(Gprof.GprofExecutor exec, java.util.Map<java.lang.String,java.lang.Object> map)
           
static Gprof.GprofExecutor gprofFromMap(java.util.Map<java.lang.String,java.lang.Object> map)
           
static Gprof.GprofExecutor gprofFromString(java.lang.String executableOrHome)
           
 int hashCode()
           
static void populate()
           
 java.lang.String toString()
           
 
Methods inherited from class com.codemesh.terp.eval.executors.ProcessExecutor
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_GPROFS

protected static final java.util.List<Gprof.GprofExecutor> ALL_GPROFS
Constructor Detail

Gprof.GprofExecutor

public Gprof.GprofExecutor()
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(Gprof.GprofExecutor o)
Specified by:
compareTo in interface java.lang.Comparable<Gprof.GprofExecutor>

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()

gprofFromString

public static Gprof.GprofExecutor gprofFromString(java.lang.String executableOrHome)

gprofFromFile

public static Gprof.GprofExecutor gprofFromFile(java.io.File executableOrHome)

gprofFromMap

public static Gprof.GprofExecutor gprofFromMap(java.util.Map<java.lang.String,java.lang.Object> map)

gprofFromMap

public static Gprof.GprofExecutor gprofFromMap(Gprof.GprofExecutor exec,
                                               java.util.Map<java.lang.String,java.lang.Object> map)

terp - the Codemesh Modular
Template Interpreter v1.3.304

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