|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.fopps.model.ConfigurationExporter
ConfigurationExporter is the base class for all classes dealing with configuration exports. It provides generation of Makefile and config.h which contains the current configuration setting. In addition it copies the attached files to the target directory.
| Constructor Summary | |
ConfigurationExporter(java.util.List pProductList)
|
|
ConfigurationExporter(Product pProduct)
|
|
| Method Summary | |
void |
addCompilationListener(CompilationListener pListener)
Adds a compilation listener |
void |
addMandatoryFiles(java.util.List pAttachedFiles,
CompileContext pContext)
Adds mandatory files. |
void |
compileAll()
Compiles all products |
void |
generateAlternative(Alternative pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
Generates an alternative. |
void |
generateOption(Option pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
Generates an option. |
void |
generateParameter(Parameter pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
Generates a parameter. |
java.util.List |
getProducts()
|
protected void |
notifyCompilationError(Product pProduct,
java.lang.Throwable pException)
Notify all compilation listeners that a file has copied successfully |
protected void |
notifyCompilationFinished()
Notify all compilation listeners that compilation has finished |
protected void |
notifyCompilationStarted()
Notify all compilation listeners that compilation has finished |
void |
notifyFileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
Notify all compilation listeners that a file was copied |
void |
notifyFileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
Notify all compilation listeners that a file was generated |
void |
notifyFileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
Notify all compilation listeners that a file was skipped |
void |
removeAllCompilationListener()
Removes all compilation listeners |
void |
removeCompilationListener(CompilationListener pListener)
Removes a compilation listener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationExporter(Product pProduct)
public ConfigurationExporter(java.util.List pProductList)
| Method Detail |
public java.util.List getProducts()
public void addCompilationListener(CompilationListener pListener)
pListener - Listener to addpublic void removeCompilationListener(CompilationListener pListener)
pListener - Listener to removepublic void removeAllCompilationListener()
public void compileAll()
throws CompileException
CompileException
public void addMandatoryFiles(java.util.List pAttachedFiles,
CompileContext pContext)
pAttachedFiles - Attached files of featurepContext - Compileation context
public void generateAlternative(Alternative pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
throws CompileException
pAttachedFiles - Attached files of featurepContext - Compilation context
CompileException
public void generateOption(Option pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
throws CompileException
pAttachedFiles - Attached files of featurepContext - Compilation context
CompileException
public void generateParameter(Parameter pItem,
java.util.List pAttachedFiles,
CompileContext pContext)
throws CompileException
pItem - Parameter to generatepAttachedFiles - Attached files of featurepContext - Compilation context
CompileException
public void notifyFileSkipped(CompilationEvent pEvent,
java.lang.String pSource)
public void notifyFileGenerated(CompilationEvent pEvent,
java.lang.String pDest)
public void notifyFileCopied(CompilationEvent pEvent,
java.lang.String pSource,
java.lang.String pDest)
protected void notifyCompilationError(Product pProduct,
java.lang.Throwable pException)
protected void notifyCompilationStarted()
protected void notifyCompilationFinished()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||