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, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitisMavenCoordsPresentcompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic 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 BuildRulepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSources()
getSources in interface HasSourcespublic SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic Optional<String> getMavenCoords()
HasMavenCoordinatesgetMavenCoords in interface HasMavenCoordinates