Package org.dizitart.no2.migration
Enum InstructionType
- All Implemented Interfaces:
Serializable,Comparable<InstructionType>
Represents an instruction type.
- Since:
- 4.0
- Author:
- Anindya Chatterjee
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe add user instruction.The change password instruction.The collection add field instruction.The collection create index instruction.The collection delete field instruction.The collection drop index instruction.The collection drop all indices instruction.The collection rename instruction.The collection rename field instruction.The custom instruction.The drop collection instruction.The drop repository instruction.The rename repository instruction.The repository add field instruction.The repository change data type instruction.The repository change id field instruction.The repository create index instruction.The repository delete field instruction.The repository drop index instruction.The repository drop indices instruction.The repository rename field instruction. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstructionTypeReturns the enum constant of this type with the specified name.static InstructionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AddUser
The add user instruction. -
ChangePassword
The change password instruction. -
DropCollection
The drop collection instruction. -
DropRepository
The drop repository instruction. -
Custom
The custom instruction. -
CollectionRename
The collection rename instruction. -
CollectionAddField
The collection add field instruction. -
CollectionRenameField
The collection rename field instruction. -
CollectionDeleteField
The collection delete field instruction. -
CollectionDropIndex
The collection drop index instruction. -
CollectionDropIndices
The collection drop all indices instruction. -
CollectionCreateIndex
The collection create index instruction. -
RenameRepository
The rename repository instruction. -
RepositoryAddField
The repository add field instruction. -
RepositoryRenameField
The repository rename field instruction. -
RepositoryDeleteField
The repository delete field instruction. -
RepositoryChangeDataType
The repository change data type instruction. -
RepositoryChangeIdField
The repository change id field instruction. -
RepositoryDropIndex
The repository drop index instruction. -
RepositoryDropIndices
The repository drop indices instruction. -
RepositoryCreateIndex
The repository create index instruction.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-