Fixed javadoc warning

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@157768 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-10-27 16:17:37 +00:00
parent c35449d588
commit cff624ac31
4 changed files with 7 additions and 11 deletions

View File

@ -18,8 +18,7 @@ public interface UsageRecord extends Record {
/** /**
* KEY for : The Operation Result of the accounted operation. * KEY for : The Operation Result of the accounted operation.
* The value is expressed as * The value is expressed as OperationResult
* {@link #org.gcube.accounting.datamodel.UsageRecord.OperationResult}
*/ */
public static final String OPERATION_RESULT = "operationResult"; public static final String OPERATION_RESULT = "operationResult";

View File

@ -41,8 +41,7 @@ public abstract class AbstractStorageStatusRecord extends BasicUsageRecord {
/** /**
* KEY for : type of data accessed. * KEY for : type of data accessed.
* The value is a controlled dictionary by * The value is a controlled dictionary by StorageStatusRecord.DataType
* {@link #StorageStatusRecord.DataType}
*/ */
@RequiredField @ValidDataTypeVolume @RequiredField @ValidDataTypeVolume
public static final String DATA_TYPE = "dataType"; public static final String DATA_TYPE = "dataType";

View File

@ -60,15 +60,13 @@ public abstract class AbstractStorageUsageRecord extends BasicUsageRecord {
/** /**
* KEY for : The operation performed over the stored resource. * KEY for : The operation performed over the stored resource.
* The value is a controlled dictionary by * The value is a controlled dictionary by StorageUsageRecord.OperationType
* {@link #StorageUsageRecord.OperationType}
*/ */
@RequiredField @ValidOperationType @FixDataVolumeSign @RequiredField @ValidOperationType @FixDataVolumeSign
public static final String OPERATION_TYPE = "operationType"; public static final String OPERATION_TYPE = "operationType";
/** /**
* KEY for : type of data accessed. * KEY for : type of data accessed.
* The value is a controlled dictionary by * The value is a controlled dictionary by StorageUsageRecord.DataType
* {@link #StorageUsageRecord.DataType}
*/ */
@RequiredField @ValidDataType @RequiredField @ValidDataType
public static final String DATA_TYPE = "dataType"; public static final String DATA_TYPE = "dataType";

View File

@ -26,12 +26,12 @@ public class AccountingPersistence {
} }
/** /**
* Persist the {@link #UsageRecord}. * Persist the UsageRecord.
* The Record is validated first, then accounted, in a separated thread. * The Record is validated first, then accounted, in a separated thread.
* So that the program can continue the execution. * So that the program can continue the execution.
* If the persistence fails the class write that the record in a local file * If the persistence fails the class write that the record in a local file
* so that the {@link #UsageRecord} can be recorder later. * so that the UsageRecord can be recorder later.
* @param record the {@link #UsageRecord} to persist * @param record the UsageRecord to persist
* @throws InvalidValueException * @throws InvalidValueException
*/ */
public void account(final Record record) throws InvalidValueException { public void account(final Record record) throws InvalidValueException {