Package com.seeq.model
Enum Class DatafileInputV1.ValidationModeEnum
java.lang.Object
java.lang.Enum<DatafileInputV1.ValidationModeEnum>
com.seeq.model.DatafileInputV1.ValidationModeEnum
- All Implemented Interfaces:
Serializable
,Comparable<DatafileInputV1.ValidationModeEnum>
,Constable
- Enclosing class:
- DatafileInputV1
public static enum DatafileInputV1.ValidationModeEnum
extends Enum<DatafileInputV1.ValidationModeEnum>
The approach to use when CSV data cannot be parsed. Choices are Fail, Skip, Invalid. If Fail (default), then cells that cannot be parsed will cause the import to fail with error messages.If Skip, those cells will be skipped meaning that no sample will be created for signals from that row of the file. For conditions, if it is the start or end cell, no capsule will be created from that row. If the cell is a capsule property, the capsule is still created but without that capsule property. If Invalid and the cell is a sample key or capsule start/end, no sample or capsule is created from that row of the file. If the cell is a sample value or capsule property, the sample or capsule property is created with the value INVALID.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
toString()
Returns the enum constant of this class with the specified name.static DatafileInputV1.ValidationModeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
-
SKIP
-
INVALID
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-
toString
- Overrides:
toString
in classEnum<DatafileInputV1.ValidationModeEnum>
-
fromValue
-