- All Implemented Interfaces:
- Serializable,- Comparable<ContentType>,- Constable
File.type().
 
 This type describes the semantics of File.content(). The files
 contained in Commit.delta() will be processed in the following order:
 
- SNAPSHOT(replacing all other contents of this- Commitas well as previous commits, if migrating from- Node.root())
- INCREMENT
- SCRIPT
- SCHEMA
When undoing a migration, the order is:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe file contains decrement information.The file contains increment information.The file contains partial schema information.The file contains a script.A snapshot (or tag?) is a file / set of files that describes the entire schema.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ContentTypeReturns the enum constant of this class with the specified name.static ContentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SCHEMAThe file contains partial schema information.Partial schema information could be CREATE TABLEand similar statements, which are not applied as increments in aMigration, but used to create a diff between twoVersionusingMeta.migrateTo(Meta).
- 
INCREMENTThe file contains increment information.Increments could be ALTER TABLEorUPDATEand similar statements, which are applied as increments in a migration usingMeta.apply(Queries).Within the same Commit, increments are sorted according to theirFile.path().
- 
DECREMENTThe file contains decrement information.Decrements work like INCREMENTtyped files, but are applied only when downgrading to a previous version, decrements are sorted in reverse order according to theirFile.path().This API is part of a commercial only feature. To use this feature, please use the jOOQ Professional Edition or the jOOQ Enterprise Edition. 
- 
SCRIPTThe file contains a script.Scripts are increments that are not processed by jOOQ, and can thus not be interpreted. They can contain vendor-specific SQL that jOOQ doesn't understand. 
- 
SNAPSHOTA snapshot (or tag?) is a file / set of files that describes the entire schema.In order to restore a database, or install a new one, we don't have to go back any further than the snapshot. This API is part of a commercial only feature. To use this feature, please use the jOOQ Professional Edition or the jOOQ Enterprise Edition. 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-