terp - the ANT Tasks
v1.3.304

com.codemesh.terp.ant.compiler
Interface FileCreating<C extends Compiler>

All Superinterfaces:
CompilerOption<C>
All Known Subinterfaces:
CppFileCreating
All Known Implementing Classes:
DebugOption, DynamicSourcesOption, GenerateVsProject, ResourceOption, TargetOption, VsProjectOption

public interface FileCreating<C extends Compiler>
extends CompilerOption<C>

The interface implemented by all elements that result in the creation of one or more target files. Any compiler option could theoretically result in the creation of one or more files. A compiler wrapper needs to be aware of the files it creates so it can perform cleanup if necessary.

Implementing this interface allows compiler options to inform the compiler instance of the files that they will result in when used.


Method Summary
 java.util.List<java.lang.String> creates(C compiler, CompilerPhase phase)
          Returns a list of filenames representing the files that are created due to the presence of this compiler option.
 
Methods inherited from interface com.codemesh.terp.ant.compiler.CompilerOption
addCommands, appliesTo, getIf, getUnless, satisfies, setIf, setUnless
 

Method Detail

creates

java.util.List<java.lang.String> creates(C compiler,
                                         CompilerPhase phase)
Returns a list of filenames representing the files that are created due to the presence of this compiler option.

Parameters:
compiler - the compiler.
phase - the compilation phase.
Returns:
a list of files, possibly empty.

terp - the ANT Tasks
v1.3.304

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