Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on doclint and fix javadoc generation #3

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<configuration>
<quiet>true</quiet>
<notimestamp>true</notimestamp>
<additionalOptions>-Xdoclint:none</additionalOptions>
<doclint>all,-missing</doclint>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -195,15 +195,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>test</id>
<dependencies>
Expand Down
118 changes: 59 additions & 59 deletions src/main/java/org/spdx/library/model/v3_0_1/ai/AIPackage.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public EnergyConsumptionBuilder(IModelStore modelStore, String objectUri, @Nulla

/**
* Adds a trainingEnergyConsumption to the initial collection
* @parameter trainingEnergyConsumption trainingEnergyConsumption to add
* @param trainingEnergyConsumption trainingEnergyConsumption to add
* @return this for chaining
**/
public EnergyConsumptionBuilder addTrainingEnergyConsumption(EnergyConsumptionDescription trainingEnergyConsumption) {
Expand All @@ -209,7 +209,7 @@ public EnergyConsumptionBuilder addTrainingEnergyConsumption(EnergyConsumptionDe

/**
* Adds all elements from a collection to the initial trainingEnergyConsumption collection
* @parameter trainingEnergyConsumptionCollection collection to initialize the trainingEnergyConsumption
* @param trainingEnergyConsumptionCollection collection to initialize the trainingEnergyConsumption
* @return this for chaining
**/
public EnergyConsumptionBuilder addAllTrainingEnergyConsumption(Collection<EnergyConsumptionDescription> trainingEnergyConsumptionCollection) {
Expand All @@ -221,7 +221,7 @@ public EnergyConsumptionBuilder addAllTrainingEnergyConsumption(Collection<Energ

/**
* Adds a finetuningEnergyConsumption to the initial collection
* @parameter finetuningEnergyConsumption finetuningEnergyConsumption to add
* @param finetuningEnergyConsumption finetuningEnergyConsumption to add
* @return this for chaining
**/
public EnergyConsumptionBuilder addFinetuningEnergyConsumption(EnergyConsumptionDescription finetuningEnergyConsumption) {
Expand All @@ -233,7 +233,7 @@ public EnergyConsumptionBuilder addFinetuningEnergyConsumption(EnergyConsumption

/**
* Adds all elements from a collection to the initial finetuningEnergyConsumption collection
* @parameter finetuningEnergyConsumptionCollection collection to initialize the finetuningEnergyConsumption
* @param finetuningEnergyConsumptionCollection collection to initialize the finetuningEnergyConsumption
* @return this for chaining
**/
public EnergyConsumptionBuilder addAllFinetuningEnergyConsumption(Collection<EnergyConsumptionDescription> finetuningEnergyConsumptionCollection) {
Expand All @@ -245,7 +245,7 @@ public EnergyConsumptionBuilder addAllFinetuningEnergyConsumption(Collection<Ene

/**
* Adds a inferenceEnergyConsumption to the initial collection
* @parameter inferenceEnergyConsumption inferenceEnergyConsumption to add
* @param inferenceEnergyConsumption inferenceEnergyConsumption to add
* @return this for chaining
**/
public EnergyConsumptionBuilder addInferenceEnergyConsumption(EnergyConsumptionDescription inferenceEnergyConsumption) {
Expand All @@ -257,7 +257,7 @@ public EnergyConsumptionBuilder addInferenceEnergyConsumption(EnergyConsumptionD

/**
* Adds all elements from a collection to the initial inferenceEnergyConsumption collection
* @parameter inferenceEnergyConsumptionCollection collection to initialize the inferenceEnergyConsumption
* @param inferenceEnergyConsumptionCollection collection to initialize the inferenceEnergyConsumption
* @return this for chaining
**/
public EnergyConsumptionBuilder addAllInferenceEnergyConsumption(Collection<EnergyConsumptionDescription> inferenceEnergyConsumptionCollection) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public EnergyConsumptionDescriptionBuilder(IModelStore modelStore, String object

/**
* Sets the initial value of energyUnit
* @parameter energyUnit value to set
* @param energyUnit value to set
* @return this for chaining
**/
public EnergyConsumptionDescriptionBuilder setEnergyUnit(EnergyUnitType energyUnit) {
Expand All @@ -238,7 +238,7 @@ public EnergyConsumptionDescriptionBuilder setEnergyUnit(EnergyUnitType energyUn

/**
* Sets the initial value of energyQuantity
* @parameter energyQuantity value to set
* @param energyQuantity value to set
* @return this for chaining
**/
public EnergyConsumptionDescriptionBuilder setEnergyQuantity(Integer energyQuantity) {
Expand Down
54 changes: 27 additions & 27 deletions src/main/java/org/spdx/library/model/v3_0_1/build/Build.java
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public BuildBuilder(IModelStore modelStore, String objectUri, @Nullable IModelCo

/**
* Adds a environment to the initial collection
* @parameter environment environment to add
* @param environment environment to add
* @return this for chaining
**/
public BuildBuilder addEnvironment(DictionaryEntry environment) {
Expand All @@ -408,7 +408,7 @@ public BuildBuilder addEnvironment(DictionaryEntry environment) {

/**
* Adds all elements from a collection to the initial environment collection
* @parameter environmentCollection collection to initialize the environment
* @param environmentCollection collection to initialize the environment
* @return this for chaining
**/
public BuildBuilder addAllEnvironment(Collection<DictionaryEntry> environmentCollection) {
Expand All @@ -420,7 +420,7 @@ public BuildBuilder addAllEnvironment(Collection<DictionaryEntry> environmentCol

/**
* Adds a extension to the initial collection
* @parameter extension extension to add
* @param extension extension to add
* @return this for chaining
**/
public BuildBuilder addExtension(Extension extension) {
Expand All @@ -432,7 +432,7 @@ public BuildBuilder addExtension(Extension extension) {

/**
* Adds all elements from a collection to the initial extension collection
* @parameter extensionCollection collection to initialize the extension
* @param extensionCollection collection to initialize the extension
* @return this for chaining
**/
public BuildBuilder addAllExtension(Collection<Extension> extensionCollection) {
Expand All @@ -444,7 +444,7 @@ public BuildBuilder addAllExtension(Collection<Extension> extensionCollection) {

/**
* Adds a verifiedUsing to the initial collection
* @parameter verifiedUsing verifiedUsing to add
* @param verifiedUsing verifiedUsing to add
* @return this for chaining
**/
public BuildBuilder addVerifiedUsing(IntegrityMethod verifiedUsing) {
Expand All @@ -456,7 +456,7 @@ public BuildBuilder addVerifiedUsing(IntegrityMethod verifiedUsing) {

/**
* Adds all elements from a collection to the initial verifiedUsing collection
* @parameter verifiedUsingCollection collection to initialize the verifiedUsing
* @param verifiedUsingCollection collection to initialize the verifiedUsing
* @return this for chaining
**/
public BuildBuilder addAllVerifiedUsing(Collection<IntegrityMethod> verifiedUsingCollection) {
Expand All @@ -468,7 +468,7 @@ public BuildBuilder addAllVerifiedUsing(Collection<IntegrityMethod> verifiedUsin

/**
* Adds a externalRef to the initial collection
* @parameter externalRef externalRef to add
* @param externalRef externalRef to add
* @return this for chaining
**/
public BuildBuilder addExternalRef(ExternalRef externalRef) {
Expand All @@ -480,7 +480,7 @@ public BuildBuilder addExternalRef(ExternalRef externalRef) {

/**
* Adds all elements from a collection to the initial externalRef collection
* @parameter externalRefCollection collection to initialize the externalRef
* @param externalRefCollection collection to initialize the externalRef
* @return this for chaining
**/
public BuildBuilder addAllExternalRef(Collection<ExternalRef> externalRefCollection) {
Expand All @@ -492,7 +492,7 @@ public BuildBuilder addAllExternalRef(Collection<ExternalRef> externalRefCollect

/**
* Adds a configSourceDigest to the initial collection
* @parameter configSourceDigest configSourceDigest to add
* @param configSourceDigest configSourceDigest to add
* @return this for chaining
**/
public BuildBuilder addConfigSourceDigest(Hash configSourceDigest) {
Expand All @@ -504,7 +504,7 @@ public BuildBuilder addConfigSourceDigest(Hash configSourceDigest) {

/**
* Adds all elements from a collection to the initial configSourceDigest collection
* @parameter configSourceDigestCollection collection to initialize the configSourceDigest
* @param configSourceDigestCollection collection to initialize the configSourceDigest
* @return this for chaining
**/
public BuildBuilder addAllConfigSourceDigest(Collection<Hash> configSourceDigestCollection) {
Expand All @@ -516,7 +516,7 @@ public BuildBuilder addAllConfigSourceDigest(Collection<Hash> configSourceDigest

/**
* Adds a parameter to the initial collection
* @parameter parameter parameter to add
* @param parameter parameter to add
* @return this for chaining
**/
public BuildBuilder addParameter(DictionaryEntry parameter) {
Expand All @@ -528,7 +528,7 @@ public BuildBuilder addParameter(DictionaryEntry parameter) {

/**
* Adds all elements from a collection to the initial parameter collection
* @parameter parameterCollection collection to initialize the parameter
* @param parameterCollection collection to initialize the parameter
* @return this for chaining
**/
public BuildBuilder addAllParameter(Collection<DictionaryEntry> parameterCollection) {
Expand All @@ -540,7 +540,7 @@ public BuildBuilder addAllParameter(Collection<DictionaryEntry> parameterCollect

/**
* Adds a externalIdentifier to the initial collection
* @parameter externalIdentifier externalIdentifier to add
* @param externalIdentifier externalIdentifier to add
* @return this for chaining
**/
public BuildBuilder addExternalIdentifier(ExternalIdentifier externalIdentifier) {
Expand All @@ -552,7 +552,7 @@ public BuildBuilder addExternalIdentifier(ExternalIdentifier externalIdentifier)

/**
* Adds all elements from a collection to the initial externalIdentifier collection
* @parameter externalIdentifierCollection collection to initialize the externalIdentifier
* @param externalIdentifierCollection collection to initialize the externalIdentifier
* @return this for chaining
**/
public BuildBuilder addAllExternalIdentifier(Collection<ExternalIdentifier> externalIdentifierCollection) {
Expand All @@ -564,7 +564,7 @@ public BuildBuilder addAllExternalIdentifier(Collection<ExternalIdentifier> exte

/**
* Adds a configSourceEntrypoint to the initial collection
* @parameter configSourceEntrypoint configSourceEntrypoint to add
* @param configSourceEntrypoint configSourceEntrypoint to add
* @return this for chaining
**/
public BuildBuilder addConfigSourceEntrypoint(String configSourceEntrypoint) {
Expand All @@ -576,7 +576,7 @@ public BuildBuilder addConfigSourceEntrypoint(String configSourceEntrypoint) {

/**
* Adds all elements from a collection to the initial configSourceEntrypoint collection
* @parameter configSourceEntrypointCollection collection to initialize the configSourceEntrypoint
* @param configSourceEntrypointCollection collection to initialize the configSourceEntrypoint
* @return this for chaining
**/
public BuildBuilder addAllConfigSourceEntrypoint(Collection<String> configSourceEntrypointCollection) {
Expand All @@ -588,7 +588,7 @@ public BuildBuilder addAllConfigSourceEntrypoint(Collection<String> configSource

/**
* Adds a configSourceUri to the initial collection
* @parameter configSourceUri configSourceUri to add
* @param configSourceUri configSourceUri to add
* @return this for chaining
**/
public BuildBuilder addConfigSourceUri(String configSourceUri) {
Expand All @@ -600,7 +600,7 @@ public BuildBuilder addConfigSourceUri(String configSourceUri) {

/**
* Adds all elements from a collection to the initial configSourceUri collection
* @parameter configSourceUriCollection collection to initialize the configSourceUri
* @param configSourceUriCollection collection to initialize the configSourceUri
* @return this for chaining
**/
public BuildBuilder addAllConfigSourceUri(Collection<String> configSourceUriCollection) {
Expand All @@ -612,7 +612,7 @@ public BuildBuilder addAllConfigSourceUri(Collection<String> configSourceUriColl

/**
* Sets the initial value of creationInfo
* @parameter creationInfo value to set
* @param creationInfo value to set
* @return this for chaining
**/
public BuildBuilder setCreationInfo(CreationInfo creationInfo) {
Expand All @@ -622,7 +622,7 @@ public BuildBuilder setCreationInfo(CreationInfo creationInfo) {

/**
* Sets the initial value of buildId
* @parameter buildId value to set
* @param buildId value to set
* @return this for chaining
**/
public BuildBuilder setBuildId(String buildId) {
Expand All @@ -632,7 +632,7 @@ public BuildBuilder setBuildId(String buildId) {

/**
* Sets the initial value of buildEndTime
* @parameter buildEndTime value to set
* @param buildEndTime value to set
* @return this for chaining
**/
public BuildBuilder setBuildEndTime(String buildEndTime) {
Expand All @@ -642,7 +642,7 @@ public BuildBuilder setBuildEndTime(String buildEndTime) {

/**
* Sets the initial value of summary
* @parameter summary value to set
* @param summary value to set
* @return this for chaining
**/
public BuildBuilder setSummary(String summary) {
Expand All @@ -652,7 +652,7 @@ public BuildBuilder setSummary(String summary) {

/**
* Sets the initial value of description
* @parameter description value to set
* @param description value to set
* @return this for chaining
**/
public BuildBuilder setDescription(String description) {
Expand All @@ -662,7 +662,7 @@ public BuildBuilder setDescription(String description) {

/**
* Sets the initial value of name
* @parameter name value to set
* @param name value to set
* @return this for chaining
**/
public BuildBuilder setName(String name) {
Expand All @@ -672,7 +672,7 @@ public BuildBuilder setName(String name) {

/**
* Sets the initial value of comment
* @parameter comment value to set
* @param comment value to set
* @return this for chaining
**/
public BuildBuilder setComment(String comment) {
Expand All @@ -682,7 +682,7 @@ public BuildBuilder setComment(String comment) {

/**
* Sets the initial value of buildStartTime
* @parameter buildStartTime value to set
* @param buildStartTime value to set
* @return this for chaining
**/
public BuildBuilder setBuildStartTime(String buildStartTime) {
Expand All @@ -692,7 +692,7 @@ public BuildBuilder setBuildStartTime(String buildStartTime) {

/**
* Sets the initial value of buildType
* @parameter buildType value to set
* @param buildType value to set
* @return this for chaining
**/
public BuildBuilder setBuildType(String buildType) {
Expand Down
Loading