public DefaultRoutesCompileSpec(Iterable<File> sourceFiles, File outputDirectory, BaseForkOptions forkOptions, boolean javaProject, boolean namespaceReverseRouter, boolean generateReverseRoutes, boolean injectedRoutesGenerator, Collection<String> additionalImports) { this.sourceFiles = sourceFiles; this.outputDirectory = outputDirectory; this.forkOptions = forkOptions; this.javaProject = javaProject; this.namespaceReverseRouter = namespaceReverseRouter; this.generateReverseRoutes = generateReverseRoutes; this.injectedRoutesGenerator = injectedRoutesGenerator; this.additionalImports = additionalImports; }
public DefaultPlayRunSpec(Iterable<File> classpath, Iterable<File> changingClasspath, File applicationJar, File assetsJar, Iterable<File> assetsDirs, File projectPath, BaseForkOptions forkOptions, int httpPort) { this.classpath = Sets.newHashSet(classpath); this.changingClasspath = changingClasspath != null ? Sets.newHashSet(changingClasspath) : Collections.<File>emptySet(); this.applicationJar = applicationJar; this.assetsJar = assetsJar; this.assetsDirs = assetsDirs; this.projectPath = projectPath; this.forkOptions = forkOptions; this.httpPort = httpPort; }
@Override public BaseForkOptions getForkOptions() { return forkOptions; }
public DefaultJavaScriptCompileSpec(Iterable<RelativeFile> sources, File destinationDir, BaseForkOptions forkOptions) { this.sources = sources; this.destinationDir = destinationDir; this.forkOptions = forkOptions; }
@Override protected DaemonForkOptions toDaemonOptions(PlayCompileSpec spec) { BaseForkOptions forkOptions = spec.getForkOptions(); return new DaemonForkOptions(forkOptions.getMemoryInitialSize(), forkOptions.getMemoryMaximumSize(), Collections.<String>emptyList(), compilerClasspath, classLoaderPackages); }
public DefaultTwirlCompileSpec(Iterable<RelativeFile> sources, File destinationDir, BaseForkOptions forkOptions, TwirlImports defaultImports) { this.sources = sources; this.destinationDir = destinationDir; this.forkOptions = forkOptions; this.defaultImports = defaultImports; }
BaseForkOptions getForkOptions();