Skip to content

Commit 2b4d2c5

Browse files
author
Joerg Huber
committed
Fixed some Javadoc.
1 parent a5f3cc9 commit 2b4d2c5

2 files changed

Lines changed: 15 additions & 17 deletions

File tree

SIF3InfraREST/SIF3REST/src/main/java/sif3/infra/rest/client/JobClient.java

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -544,11 +544,11 @@ public Response retrieveDataFromPhase(PhaseInfo phaseInfo, MediaType returnMimeT
544544
*
545545
* @param phaseInfo Hold the jobID and phase name of the job from where the data shall be created. If the parameter or
546546
* any of its properties must not be null/empty.
547-
* @param phaseData The data and its mime type that is given to the operation of this phase. The data property of this
548-
* parameter can be null in cases where no data is provided to this phase. This is entirely valid according
549-
* to the SIF Specification. If data is provided (as a String) then the mime type is set as well, by the consumer,
550-
* to indicate the format of the data. The provider can us this mime type to unmarshal the data into the
551-
* appropriate internal structure.
547+
* @param phaseDataRequest The data and its mime type that is given to the operation of this phase. The data property
548+
* of this parameter can be null in cases where no data is provided to this phase. This is
549+
* entirely valid according to the SIF Specification. If data is provided (as a String) then
550+
* the mime type is set as well, by the consumer, to indicate the format of the data. The
551+
* provider can us this mime type to unmarshal the data into the appropriate internal structure.
552552
* @param returnMimeType The mime type the response data is in. It is expected that the consumer provides that and the provider
553553
* should attempt to marshal the data to the given mime type and return the resulting string as
554554
* part of this call. If the provider cannot marshal the data to the requested mime type then an
@@ -621,11 +621,11 @@ public Response createDataInPhase(PhaseInfo phaseInfo,
621621
*
622622
* @param phaseInfo Hold the jobID and phase name of the job where the data shall be updated. If the parameter or
623623
* any of its properties must not be null/empty.
624-
* @param phaseData The data and its mime type that is given to the operation of this phase. The data property of this
625-
* parameter can be null in cases where no data is provided to this phase. This is entirely valid according
626-
* to the SIF Specification. If data is provided (as a String) then the mime type is set as well, by the consumer,
627-
* to indicate the format of the data. The provider can us this mime type to unmarshal the data into the
628-
* appropriate internal structure.
624+
* @param phaseDataRequest The data and its mime type that is given to the operation of this phase. The data property
625+
* of this parameter can be null in cases where no data is provided to this phase. This is
626+
* entirely valid according to the SIF Specification. If data is provided (as a String) then
627+
* the mime type is set as well, by the consumer, to indicate the format of the data. The
628+
* provider can us this mime type to unmarshal the data into the appropriate internal structure.
629629
* @param returnMimeType The mime type the response data is in. It is expected that the consumer provides that and the provider
630630
* should attempt to marshal the data to the given mime type and return the resulting string as
631631
* part of this call. If the provider cannot marshal the data to the requested mime type then an
@@ -700,11 +700,11 @@ public Response updateDataInPhase(PhaseInfo phaseInfo,
700700
*
701701
* @param phaseInfo Hold the jobID and phase name of the job where the data shall be deleted. If the parameter or
702702
* any of its properties must not be null/empty.
703-
* @param phaseData The data and its mime type that is given to the operation of this phase. The data property of this
704-
* parameter can be null in cases where no data is provided to this phase. This is entirely valid according
705-
* to the SIF Specification. If data is provided (as a String) then the mime type is set as well, by the consumer,
706-
* to indicate the format of the data. The provider can us this mime type to unmarshal the data into the
707-
* appropriate internal structure.
703+
* @param phaseDataRequest The data and its mime type that is given to the operation of this phase. The data property
704+
* of this parameter can be null in cases where no data is provided to this phase. This is
705+
* entirely valid according to the SIF Specification. If data is provided (as a String) then
706+
* the mime type is set as well, by the consumer, to indicate the format of the data. The
707+
* provider can us this mime type to unmarshal the data into the appropriate internal structure.
708708
* @param returnMimeType The mime type the response data is in. It is expected that the consumer provides that and the provider
709709
* should attempt to marshal the data to the given mime type and return the resulting string as
710710
* part of this call. If the provider cannot marshal the data to the requested mime type then an
@@ -831,7 +831,6 @@ public Response updatePhaseState(PhaseInfo phaseInfo, PhaseState newState, Heade
831831
*
832832
* @param phaseInfo Hold the jobID and phase name of the job where the states shall be retrieved. If the parameter or
833833
* any of its properties must not be null/empty.
834-
* @param phaseName Name of the phase for which the state(s) shall be retrieved. If null then an error will be returned.
835834
* @param hdrProperties Header Properties to be added to the header of the request.
836835
* @param urlQueryParams URL query parameters to be added to the request. It is assumed that these are custom
837836
* URL query parameters. They are conveyed to the provider unchanged. URL query parameter

SIF3InfraREST/sif3Common/src/main/java/sif3/common/persist/service/JobService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ public SIF3Job createJob(SIF3Job job) throws IllegalArgumentException, Persisten
200200
* Updates a job with the given values. Note that the internalID must be set and have the value of an existing object. The job object is
201201
* updated with the exact values given. Please refer to the appropriate method in the JobDAO for details on pre- and post-conditions.<br/>
202202
*
203-
* @param tx The current transaction. Cannot be null.
204203
* @param job The job to be updated to the SIF3_JOB table.
205204
*
206205
* @return The updated job. This has a new lastModified date which is now the current date.

0 commit comments

Comments
 (0)