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, 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 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 BuildRulepublic SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic Optional<String> getMavenCoords()
HasMavenCoordinatesgetMavenCoords in interface HasMavenCoordinatespublic Iterable<HasMavenCoordinates> getMavenDeps()
MavenPublishablegetMavenDeps in interface MavenPublishablepublic Iterable<BuildRule> getPackagedDependencies()
MavenPublishableMavenPublishable.getMavenDeps(), and the
transitive dependencies of those maven deps would form the complete set of transitive
dependencies for the artifact.getPackagedDependencies in interface MavenPublishablepublic Optional<SourcePath> getPomTemplate()
getPomTemplate in interface MavenPublishable