org.granite.builder
Class BuilderConfiguration

java.lang.Object
  extended by org.granite.builder.BuilderConfiguration
All Implemented Interfaces:
JavaAs3GroovyConfiguration, Configuration, GroovyConfiguration

public class BuilderConfiguration
extends java.lang.Object
implements JavaAs3GroovyConfiguration

Author:
Franck WOLFF

Constructor Summary
BuilderConfiguration(Listener listener, org.eclipse.core.resources.IProject project)
           
 
Method Summary
 As3TypeFactory getAs3TypeFactory()
           
 java.io.File getBaseOutputDir(JavaAs3Input input)
           
 java.lang.ClassLoader getClassLoader()
           
 EntityFactory getEntityFactory()
           
 GroovyTemplateFactory getGroovyTemplateFactory()
           
 org.eclipse.jdt.core.IJavaProject getJavaProject()
           
 java.io.File getOutputDir(JavaAs3Input input)
           
 org.eclipse.core.resources.IProject getProject()
           
 GraniteProperties getProperties()
           
 RemoteDestinationFactory getRemoteDestinationFactory()
           
 TemplateUri[] getTemplateUris(JavaType.Kind kind, java.lang.Class<?> clazz)
           
 java.util.List<PackageTranslator> getTranslators()
           
 java.lang.String getUid()
           
 boolean isGenerated(java.lang.Class<?> clazz)
           
 boolean isOutdated()
           
 void resetClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuilderConfiguration

public BuilderConfiguration(Listener listener,
                            org.eclipse.core.resources.IProject project)
Method Detail

isOutdated

public boolean isOutdated()

getProject

public org.eclipse.core.resources.IProject getProject()

getJavaProject

public org.eclipse.jdt.core.IJavaProject getJavaProject()

getProperties

public GraniteProperties getProperties()

getAs3TypeFactory

public As3TypeFactory getAs3TypeFactory()
Specified by:
getAs3TypeFactory in interface JavaAs3GroovyConfiguration

getEntityFactory

public EntityFactory getEntityFactory()
Specified by:
getEntityFactory in interface JavaAs3GroovyConfiguration

getRemoteDestinationFactory

public RemoteDestinationFactory getRemoteDestinationFactory()
Specified by:
getRemoteDestinationFactory in interface JavaAs3GroovyConfiguration

getBaseOutputDir

public java.io.File getBaseOutputDir(JavaAs3Input input)
Specified by:
getBaseOutputDir in interface JavaAs3GroovyConfiguration

getOutputDir

public java.io.File getOutputDir(JavaAs3Input input)
Specified by:
getOutputDir in interface JavaAs3GroovyConfiguration

getTemplateUris

public TemplateUri[] getTemplateUris(JavaType.Kind kind,
                                     java.lang.Class<?> clazz)
Specified by:
getTemplateUris in interface JavaAs3GroovyConfiguration

getTranslators

public java.util.List<PackageTranslator> getTranslators()
Specified by:
getTranslators in interface JavaAs3GroovyConfiguration

getUid

public java.lang.String getUid()
Specified by:
getUid in interface JavaAs3GroovyConfiguration

isGenerated

public boolean isGenerated(java.lang.Class<?> clazz)
Specified by:
isGenerated in interface JavaAs3GroovyConfiguration

getGroovyTemplateFactory

public GroovyTemplateFactory getGroovyTemplateFactory()
Specified by:
getGroovyTemplateFactory in interface GroovyConfiguration

resetClassLoader

public void resetClassLoader()

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface Configuration