terp - the ANT Tasks
v1.3.304

com.codemesh.terp.ant.compiler
Enum CompilerPhase

java.lang.Object
  extended by java.lang.Enum<CompilerPhase>
      extended by com.codemesh.terp.ant.compiler.CompilerPhase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompilerPhase>

public enum CompilerPhase
extends java.lang.Enum<CompilerPhase>

The compiler phase which we're in. Not all options apply to all compilation phases. Some only apply to compilation, others to linking, others to both.


Enum Constant Summary
Compile
          The compiler invocation that converts source files to object files.
CompileAndLink
          The compiler invocation that links but has some switches that are handled by the compiler and some that are handled by the linker.
Link
          The compiler/linker invocation that converts object files and other link inputs to a finished module.
PostLink
          The build step after all compilation and link steps have been performed.
PreCompile
          The build step just before the compiler is invoked.
PreLink
          The build step just before the linker is invoked.
 
Method Summary
static CompilerPhase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompilerPhase[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Compile

public static final CompilerPhase Compile
The compiler invocation that converts source files to object files.


Link

public static final CompilerPhase Link
The compiler/linker invocation that converts object files and other link inputs to a finished module.


CompileAndLink

public static final CompilerPhase CompileAndLink
The compiler invocation that links but has some switches that are handled by the compiler and some that are handled by the linker.


PreCompile

public static final CompilerPhase PreCompile
The build step just before the compiler is invoked.


PreLink

public static final CompilerPhase PreLink
The build step just before the linker is invoked.


PostLink

public static final CompilerPhase PostLink
The build step after all compilation and link steps have been performed.

Method Detail

values

public static CompilerPhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CompilerPhase c : CompilerPhase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CompilerPhase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

terp - the ANT Tasks
v1.3.304

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