Uses of Class
com.amilesend.discogs.csv.validation.ValidationException
Packages that use ValidationException
Package
Description
-
Uses of ValidationException in com.amilesend.discogs.csv
Methods in com.amilesend.discogs.csv that throw ValidationExceptionModifier and TypeMethodDescriptionInventoryCsvWriter.InventoryCsvWriterBuilder.build()
void
InventoryCsvValidator.validate
(@NonNull Path csvFile, @NonNull InventoryRecordType type) Validates an inventory CSV file by: Validating that headers are recognized Required headers are present Contents adhere to column value constraintsvoid
InventoryCsvWriter.write
(@NonNull InventoryRecord record) Writes a record to the CSV file. -
Uses of ValidationException in com.amilesend.discogs.csv.type
Methods in com.amilesend.discogs.csv.type that throw ValidationExceptionModifier and TypeMethodDescriptionvoid
InventoryRecord.validate
(@NonNull InventoryRecordType type) Validates the record contents based on the defined record type. -
Uses of ValidationException in com.amilesend.discogs.csv.validation
Methods in com.amilesend.discogs.csv.validation that throw ValidationExceptionModifier and TypeMethodDescriptionvoid
MediaConditionValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) void
PositiveIntValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) void
PriceValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) void
SleeveConditionValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) void
ValueValidator.validate
(String value, InventoryHeader header, Integer row, Integer col) Validates a CSV attribute.void
YesNoValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) void
ZeroOrPositiveIntValidator.validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col)