Package org.dizitart.no2.migration
Enum InstructionType
- java.lang.Object
-
- java.lang.Enum<InstructionType>
-
- org.dizitart.no2.migration.InstructionType
-
- All Implemented Interfaces:
Serializable
,Comparable<InstructionType>
public enum InstructionType extends Enum<InstructionType>
Represents an instruction type.- Since:
- 4.0
- Author:
- Anindya Chatterjee
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddUser
The add user instruction.ChangePassword
The change password instruction.CollectionAddField
The collection add field instruction.CollectionCreateIndex
The collection create index instruction.CollectionDeleteField
The collection delete field instruction.CollectionDropIndex
The collection drop index instruction.CollectionDropIndices
The collection drop all indices instruction.CollectionRename
The collection rename instruction.CollectionRenameField
The collection rename field instruction.Custom
The custom instruction.DropCollection
The drop collection instruction.DropRepository
The drop repository instruction.RenameRepository
The rename repository instruction.RepositoryAddField
The repository add field instruction.RepositoryChangeDataType
The repository change data type instruction.RepositoryChangeIdField
The repository change id field instruction.RepositoryCreateIndex
The repository create index instruction.RepositoryDeleteField
The repository delete field instruction.RepositoryDropIndex
The repository drop index instruction.RepositoryDropIndices
The repository drop indices instruction.RepositoryRenameField
The repository rename field instruction.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstructionType
valueOf(String name)
Returns 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 Detail
-
AddUser
public static final InstructionType AddUser
The add user instruction.
-
ChangePassword
public static final InstructionType ChangePassword
The change password instruction.
-
DropCollection
public static final InstructionType DropCollection
The drop collection instruction.
-
DropRepository
public static final InstructionType DropRepository
The drop repository instruction.
-
Custom
public static final InstructionType Custom
The custom instruction.
-
CollectionRename
public static final InstructionType CollectionRename
The collection rename instruction.
-
CollectionAddField
public static final InstructionType CollectionAddField
The collection add field instruction.
-
CollectionRenameField
public static final InstructionType CollectionRenameField
The collection rename field instruction.
-
CollectionDeleteField
public static final InstructionType CollectionDeleteField
The collection delete field instruction.
-
CollectionDropIndex
public static final InstructionType CollectionDropIndex
The collection drop index instruction.
-
CollectionDropIndices
public static final InstructionType CollectionDropIndices
The collection drop all indices instruction.
-
CollectionCreateIndex
public static final InstructionType CollectionCreateIndex
The collection create index instruction.
-
RenameRepository
public static final InstructionType RenameRepository
The rename repository instruction.
-
RepositoryAddField
public static final InstructionType RepositoryAddField
The repository add field instruction.
-
RepositoryRenameField
public static final InstructionType RepositoryRenameField
The repository rename field instruction.
-
RepositoryDeleteField
public static final InstructionType RepositoryDeleteField
The repository delete field instruction.
-
RepositoryChangeDataType
public static final InstructionType RepositoryChangeDataType
The repository change data type instruction.
-
RepositoryChangeIdField
public static final InstructionType RepositoryChangeIdField
The repository change id field instruction.
-
RepositoryDropIndex
public static final InstructionType RepositoryDropIndex
The repository drop index instruction.
-
RepositoryDropIndices
public static final InstructionType RepositoryDropIndices
The repository drop indices instruction.
-
RepositoryCreateIndex
public static final InstructionType RepositoryCreateIndex
The repository create index instruction.
-
-
Method Detail
-
values
public static InstructionType[] 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 (InstructionType c : InstructionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructionType 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
-
-