Package adams.flow.transformer
Enum AbstractDataContainerFileWriter.FileNameGeneration
- java.lang.Object
-
- java.lang.Enum<AbstractDataContainerFileWriter.FileNameGeneration>
-
- adams.flow.transformer.AbstractDataContainerFileWriter.FileNameGeneration
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractDataContainerFileWriter.FileNameGeneration>
- Enclosing class:
- AbstractDataContainerFileWriter<T extends DataContainer>
public static enum AbstractDataContainerFileWriter.FileNameGeneration extends Enum<AbstractDataContainerFileWriter.FileNameGeneration>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC
Use either ID or database ID.DATABASE_ID
Use the database ID.ID
use the container's ID (but ensures that it is a valid filename).SUPPLIED
use the specified name (without path).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractDataContainerFileWriter.FileNameGeneration
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractDataContainerFileWriter.FileNameGeneration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final AbstractDataContainerFileWriter.FileNameGeneration AUTOMATIC
Use either ID or database ID.
-
DATABASE_ID
public static final AbstractDataContainerFileWriter.FileNameGeneration DATABASE_ID
Use the database ID.
-
ID
public static final AbstractDataContainerFileWriter.FileNameGeneration ID
use the container's ID (but ensures that it is a valid filename).
-
SUPPLIED
public static final AbstractDataContainerFileWriter.FileNameGeneration SUPPLIED
use the specified name (without path).
-
-
Method Detail
-
values
public static AbstractDataContainerFileWriter.FileNameGeneration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractDataContainerFileWriter.FileNameGeneration c : AbstractDataContainerFileWriter.FileNameGeneration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractDataContainerFileWriter.FileNameGeneration valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-