public class JavaSourceJar extends AbstractBuildRuleWithDeclaredAndExtraDeps implements HasMavenCoordinates, HasSources
Constructor and Description |
---|
JavaSourceJar(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
com.google.common.collect.ImmutableSortedSet<SourcePath> sources,
Optional<String> mavenCoords) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Optional<String> |
getMavenCoords()
Used to identify this library within a maven repository
|
SourcePath |
getSourcePathToOutput() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSources() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isMavenCoordsPresent
compareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public JavaSourceJar(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, com.google.common.collect.ImmutableSortedSet<SourcePath> sources, Optional<String> mavenCoords)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
public com.google.common.collect.ImmutableSortedSet<SourcePath> getSources()
getSources
in interface HasSources
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public Optional<String> getMavenCoords()
HasMavenCoordinates
getMavenCoords
in interface HasMavenCoordinates