public class RoutesCompilerAdapterV24X extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PLAY_ROUTES_COMPILER_INJECTED_ROUTES_GENERATOR |
protected static String |
PLAY_ROUTES_COMPILER_STATIC_ROUTES_GENERATOR |
| Constructor and Description |
|---|
RoutesCompilerAdapterV24X(String playVersion,
String scalaVersion) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
createCompileParameters(ClassLoader cl,
File file,
File destinationDir,
boolean javaProject,
boolean namespaceReverseRouter,
boolean generateReverseRoutes,
boolean injectedRoutesGenerator,
Collection<String> additionalImports) |
Iterable<String> |
getClassLoaderPackages() |
ScalaMethod |
getCompileMethod(ClassLoader cl) |
protected List<String> |
getDefaultImports(boolean javaProject) |
String |
getDependencyNotation() |
protected String |
getScalaToJavaConverterClassName() |
Boolean |
interpretResult(Object result) |
protected boolean |
isGenerateForwardsRouter() |
protected boolean |
isGenerateRefReverseRouter() |
protected static final String PLAY_ROUTES_COMPILER_STATIC_ROUTES_GENERATOR
protected static final String PLAY_ROUTES_COMPILER_INJECTED_ROUTES_GENERATOR
public ScalaMethod getCompileMethod(ClassLoader cl) throws ClassNotFoundException
ClassNotFoundExceptionpublic Object[] createCompileParameters(ClassLoader cl, File file, File destinationDir, boolean javaProject, boolean namespaceReverseRouter, boolean generateReverseRoutes, boolean injectedRoutesGenerator, Collection<String> additionalImports) throws ClassNotFoundException
ClassNotFoundExceptionprotected boolean isGenerateForwardsRouter()
public Boolean interpretResult(Object result) throws ClassNotFoundException
ClassNotFoundExceptionprotected String getScalaToJavaConverterClassName()
protected boolean isGenerateRefReverseRouter()
public String getDependencyNotation()
getDependencyNotation in interface VersionedRoutesCompilerAdapterpublic Iterable<String> getClassLoaderPackages()
getClassLoaderPackages in interface VersionedRoutesCompilerAdapter