public abstract class CompileToJarStepFactory extends Object implements AddsToRuleKey
Modifier | Constructor and Description |
---|---|
protected |
CompileToJarStepFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCompilerSetupSteps(BuildContext context,
ProjectFilesystem projectFilesystem,
BuildTarget target,
CompilerParameters compilerParameters,
ResourcesParameters resourcesParameters,
com.google.common.collect.ImmutableList.Builder<Step> steps) |
protected void |
addJarCreationSteps(ProjectFilesystem projectFilesystem,
CompilerParameters compilerParameters,
com.google.common.collect.ImmutableList.Builder<Step> steps,
BuildableContext buildableContext,
JarParameters jarParameters) |
protected void |
addJarSetupSteps(ProjectFilesystem projectFilesystem,
BuildContext context,
JarParameters jarParameters,
com.google.common.collect.ImmutableList.Builder<Step> steps) |
abstract void |
createCompileStep(BuildContext context,
ProjectFilesystem projectFilesystem,
BuildTarget invokingRule,
CompilerParameters parameters,
com.google.common.collect.ImmutableList.Builder<Step> steps,
BuildableContext buildableContext) |
void |
createCompileToJarStep(BuildContext context,
ProjectFilesystem projectFilesystem,
BuildTarget target,
CompilerParameters compilerParameters,
ResourcesParameters resourcesParameters,
com.google.common.collect.ImmutableList<String> postprocessClassesCommands,
JarParameters abiJarParameters,
JarParameters libraryJarParameters,
com.google.common.collect.ImmutableList.Builder<Step> steps,
BuildableContext buildableContext) |
protected void |
createCompileToJarStepImpl(ProjectFilesystem projectFilesystem,
BuildContext context,
BuildTarget target,
CompilerParameters compilerParameters,
com.google.common.collect.ImmutableList<String> postprocessClassesCommands,
JarParameters abiJarParameters,
JarParameters libraryJarParameters,
com.google.common.collect.ImmutableList.Builder<Step> steps,
BuildableContext buildableContext) |
void |
createJarStep(ProjectFilesystem projectFilesystem,
JarParameters parameters,
com.google.common.collect.ImmutableList.Builder<Step> steps) |
protected Optional<String> |
getBootClasspath(BuildContext context)
This can be used make the bootclasspath if available, to the postprocess classes commands.
|
abstract boolean |
hasAnnotationProcessing() |
protected void |
recordDepFileIfNecessary(ProjectFilesystem filesystem,
BuildTarget buildTarget,
CompilerParameters compilerParameters,
BuildableContext buildableContext) |
public final void createCompileToJarStep(BuildContext context, ProjectFilesystem projectFilesystem, BuildTarget target, CompilerParameters compilerParameters, ResourcesParameters resourcesParameters, com.google.common.collect.ImmutableList<String> postprocessClassesCommands, @Nullable JarParameters abiJarParameters, @Nullable JarParameters libraryJarParameters, com.google.common.collect.ImmutableList.Builder<Step> steps, BuildableContext buildableContext)
protected void addCompilerSetupSteps(BuildContext context, ProjectFilesystem projectFilesystem, BuildTarget target, CompilerParameters compilerParameters, ResourcesParameters resourcesParameters, com.google.common.collect.ImmutableList.Builder<Step> steps)
protected void addJarSetupSteps(ProjectFilesystem projectFilesystem, BuildContext context, JarParameters jarParameters, com.google.common.collect.ImmutableList.Builder<Step> steps)
protected void recordDepFileIfNecessary(ProjectFilesystem filesystem, BuildTarget buildTarget, CompilerParameters compilerParameters, BuildableContext buildableContext)
protected void addJarCreationSteps(ProjectFilesystem projectFilesystem, CompilerParameters compilerParameters, com.google.common.collect.ImmutableList.Builder<Step> steps, BuildableContext buildableContext, JarParameters jarParameters)
protected void createCompileToJarStepImpl(ProjectFilesystem projectFilesystem, BuildContext context, BuildTarget target, CompilerParameters compilerParameters, com.google.common.collect.ImmutableList<String> postprocessClassesCommands, @Nullable JarParameters abiJarParameters, @Nullable JarParameters libraryJarParameters, com.google.common.collect.ImmutableList.Builder<Step> steps, BuildableContext buildableContext)
public void createJarStep(ProjectFilesystem projectFilesystem, JarParameters parameters, com.google.common.collect.ImmutableList.Builder<Step> steps)
protected Optional<String> getBootClasspath(BuildContext context)
public abstract void createCompileStep(BuildContext context, ProjectFilesystem projectFilesystem, BuildTarget invokingRule, CompilerParameters parameters, com.google.common.collect.ImmutableList.Builder<Step> steps, BuildableContext buildableContext)
public abstract boolean hasAnnotationProcessing()