public class DefaultRoutesCompileSpec extends Object implements RoutesCompileSpec
Constructor and Description |
---|
DefaultRoutesCompileSpec(Iterable<File> sourceFiles,
File outputDirectory,
boolean javaProject,
boolean namespaceReverseRouter,
boolean generateReverseRoutes,
boolean injectedRoutesGenerator,
Collection<String> additionalImports,
File projectDir) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAdditionalImports() |
File |
getDestinationDir() |
File |
getProjectDir() |
Iterable<File> |
getSources() |
boolean |
isGenerateReverseRoutes() |
boolean |
isInjectedRoutesGenerator() |
boolean |
isJavaProject() |
boolean |
isNamespaceReverseRouter() |
public Iterable<File> getSources()
getSources
in interface RoutesCompileSpec
public File getDestinationDir()
getDestinationDir
in interface PlayCompileSpec
public boolean isJavaProject()
isJavaProject
in interface RoutesCompileSpec
public boolean isNamespaceReverseRouter()
isNamespaceReverseRouter
in interface RoutesCompileSpec
public boolean isGenerateReverseRoutes()
isGenerateReverseRoutes
in interface RoutesCompileSpec
public boolean isInjectedRoutesGenerator()
isInjectedRoutesGenerator
in interface RoutesCompileSpec
public Collection<String> getAdditionalImports()
getAdditionalImports
in interface RoutesCompileSpec
public File getProjectDir()
getProjectDir
in interface RoutesCompileSpec