|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.model.Config
public class Config
Meta-data for code generation.
This class is immutable. It is initialized through a Builder that is
retrieved from the ImmutableObjectFactory
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
All members of this class are compared unless mProject (which) has no equals defined and mForceOverwrite which is
always true |
java.lang.String |
getClasspathVariable()
Returns the classpath variable name to bind to the first jar in the plugin identified by getPluginId(). |
protected java.lang.String |
getJetTemplatePluginID()
Retrieve the plugin id of the plugin in which the jetemplate resides in. |
java.lang.Object |
getModel()
Returns the model object to pass to the JET template. |
java.lang.String |
getPackageName()
Returns the package name of the resource to generate. |
java.lang.String |
getPluginId()
Returns the plugin id of the plugin containing the JET template file, the JMerge control model XML file, and the runtime library JAR file containing any classes necessary to compile the translated JET template implementation class. |
IProject |
getProject()
|
java.lang.String |
getTargetFile()
Returns the file name of the file where the generated code should be saved. |
java.lang.String |
getTargetFolder()
Returns the target folder (relative to the workspace root) where the generated code should be saved. |
java.lang.String |
getTemplateFullUri()
Returns the full URI of the JET template. |
java.lang.String |
getTemplateRelativeUri()
Returns the relative uri of the JET template file. |
int |
hashCode()
compute the hash code based on all fields unless mProject and mForceOverwrite which
are excluded from equals(Object) |
boolean |
isBundledRecource()
Check wether the requested Resource is in the bundle |
boolean |
isForceOverwrite()
Returns whether existing read-only files should be overwritten. |
java.util.List<java.lang.String> |
plugInIDs()
Retrieve the list of plug-ins needed for the classpath |
java.lang.String |
toString()
Compile the virtual data into a string |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object getModel()
getModel in interface IJetGatewayConfigurationpublic java.lang.String getPluginId()
getPluginId in interface IJetGatewayConfigurationpublic java.lang.String getTemplateRelativeUri()
getTemplateRelativeUri in interface IJetGatewayConfigurationpublic java.lang.String getTargetFolder()
getTargetFolder in interface IJetGatewayConfigurationpublic java.lang.String getPackageName()
getPackageName in interface IJetGatewayConfigurationpublic boolean isForceOverwrite()
true by default.
isForceOverwrite in interface IJetGatewayConfigurationpublic java.lang.String getTemplateFullUri()
plugin id.
getTemplateFullUri in interface IJetGatewayConfigurationprotected java.lang.String getJetTemplatePluginID()
public java.lang.String getTargetFile()
getTargetFile in interface IJetGatewayConfigurationpublic java.lang.String getClasspathVariable()
getPluginId().
getClasspathVariable in interface IJetGatewayConfigurationpublic IProject getProject()
getProject in interface IJetGatewayConfigurationpublic boolean isBundledRecource()
isBundledRecource in interface IJetGatewayConfigurationpublic java.util.List<java.lang.String> plugInIDs()
plugInIDs in interface IJetGatewayConfigurationpublic int hashCode()
mProject and mForceOverwrite which
are excluded from equals(Object)
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
mProject (which) has no equals defined and mForceOverwrite which is
always true
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||