public class Javadoc extends AbstractBuildRuleWithDeclaredAndExtraDeps implements MavenPublishable
Modifier | Constructor and Description |
---|---|
protected |
Javadoc(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams buildRuleParams,
Optional<String> mavenCoords,
Optional<SourcePath> mavenPomTemplate,
Iterable<HasMavenCoordinates> mavenDeps,
com.google.common.collect.ImmutableSet<SourcePath> sources) |
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
|
Iterable<HasMavenCoordinates> |
getMavenDeps()
When published, these will be listed in pom.xml as dependencies
|
Iterable<BuildRule> |
getPackagedDependencies()
When published, these will be included in the artifact.
|
Optional<SourcePath> |
getPomTemplate() |
SourcePath |
getSourcePathToOutput() |
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 static final Flavor DOC_JAR
protected Javadoc(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams, Optional<String> mavenCoords, Optional<SourcePath> mavenPomTemplate, Iterable<HasMavenCoordinates> mavenDeps, com.google.common.collect.ImmutableSet<SourcePath> sources)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public Optional<String> getMavenCoords()
HasMavenCoordinates
getMavenCoords
in interface HasMavenCoordinates
public Iterable<HasMavenCoordinates> getMavenDeps()
MavenPublishable
getMavenDeps
in interface MavenPublishable
public Iterable<BuildRule> getPackagedDependencies()
MavenPublishable
MavenPublishable.getMavenDeps()
, and the
transitive dependencies of those maven deps would form the complete set of transitive
dependencies for the artifact.getPackagedDependencies
in interface MavenPublishable
public Optional<SourcePath> getPomTemplate()
getPomTemplate
in interface MavenPublishable