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:
parent
c35449d588
commit
cff624ac31
|
@ -18,8 +18,7 @@ public interface UsageRecord extends Record {
|
|||
|
||||
/**
|
||||
* KEY for : The Operation Result of the accounted operation.
|
||||
* The value is expressed as
|
||||
* {@link #org.gcube.accounting.datamodel.UsageRecord.OperationResult}
|
||||
* The value is expressed as OperationResult
|
||||
*/
|
||||
public static final String OPERATION_RESULT = "operationResult";
|
||||
|
||||
|
|
|
@ -41,8 +41,7 @@ public abstract class AbstractStorageStatusRecord extends BasicUsageRecord {
|
|||
|
||||
/**
|
||||
* KEY for : type of data accessed.
|
||||
* The value is a controlled dictionary by
|
||||
* {@link #StorageStatusRecord.DataType}
|
||||
* The value is a controlled dictionary by StorageStatusRecord.DataType
|
||||
*/
|
||||
@RequiredField @ValidDataTypeVolume
|
||||
public static final String DATA_TYPE = "dataType";
|
||||
|
|
|
@ -60,15 +60,13 @@ public abstract class AbstractStorageUsageRecord extends BasicUsageRecord {
|
|||
|
||||
/**
|
||||
* KEY for : The operation performed over the stored resource.
|
||||
* The value is a controlled dictionary by
|
||||
* {@link #StorageUsageRecord.OperationType}
|
||||
* The value is a controlled dictionary by StorageUsageRecord.OperationType
|
||||
*/
|
||||
@RequiredField @ValidOperationType @FixDataVolumeSign
|
||||
public static final String OPERATION_TYPE = "operationType";
|
||||
/**
|
||||
* KEY for : type of data accessed.
|
||||
* The value is a controlled dictionary by
|
||||
* {@link #StorageUsageRecord.DataType}
|
||||
* The value is a controlled dictionary by StorageUsageRecord.DataType
|
||||
*/
|
||||
@RequiredField @ValidDataType
|
||||
public static final String DATA_TYPE = "dataType";
|
||||
|
|
|
@ -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.
|
||||
* So that the program can continue the execution.
|
||||
* If the persistence fails the class write that the record in a local file
|
||||
* so that the {@link #UsageRecord} can be recorder later.
|
||||
* @param record the {@link #UsageRecord} to persist
|
||||
* so that the UsageRecord can be recorder later.
|
||||
* @param record the UsageRecord to persist
|
||||
* @throws InvalidValueException
|
||||
*/
|
||||
public void account(final Record record) throws InvalidValueException {
|
||||
|
|
Loading…
Reference in New Issue