public class GinModuleGenerator extends AbstractVelocityGenerator
CLIENT_PACKAGE, SHARED_PACKAGE, SUFFIX
Constructor and Description |
---|
GinModuleGenerator(TypeOracle typeOracle,
Logger logger,
javax.inject.Provider<org.apache.velocity.VelocityContext> velocityContextProvider,
org.apache.velocity.app.VelocityEngine velocityEngine,
GeneratorUtil generatorUtil,
ServiceDefinitions serviceDefinitions) |
Modifier and Type | Method and Description |
---|---|
String |
generate() |
protected String |
getPackage() |
protected void |
populateVelocityContext(org.apache.velocity.VelocityContext velocityContext) |
concatenatePath, extractPath, getGeneratorUtil, getLogger, getTypeOracle, mergeTemplate, normalizePath
@Inject public GinModuleGenerator(TypeOracle typeOracle, Logger logger, javax.inject.Provider<org.apache.velocity.VelocityContext> velocityContextProvider, org.apache.velocity.app.VelocityEngine velocityEngine, GeneratorUtil generatorUtil, ServiceDefinitions serviceDefinitions)
public String generate() throws UnableToCompleteException
UnableToCompleteException
protected String getPackage()
getPackage
in class AbstractVelocityGenerator
protected void populateVelocityContext(org.apache.velocity.VelocityContext velocityContext)
populateVelocityContext
in class AbstractVelocityGenerator
Copyright © 2010–2014 Arcbees. All rights reserved.