Enum InstructionType

    • 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 name
        NullPointerException - if the argument is null