Class AbstractMigrationAction

    • Constructor Detail

      • AbstractMigrationAction

        public AbstractMigrationAction()
    • Method Detail

      • isPathManipulationAllowed

        public boolean isPathManipulationAllowed()
      • getCanonicalFileName

        @NotNull
        protected @NotNull String getCanonicalFileName​(@NotNull
                                                       @NotNull String path,
                                                       @NotNull
                                                       @NotNull String filename)
      • getDefaultMigrationLocation

        public abstract String getDefaultMigrationLocation()
      • validateFileExists

        protected boolean validateFileExists​(@NotNull
                                             @NotNull String path,
                                             @NotNull
                                             @NotNull String pathField)
      • validateDirectoryExists

        protected boolean validateDirectoryExists​(@NotNull
                                                  @NotNull String path,
                                                  @NotNull
                                                  @NotNull String pathField)
      • validateMigrationLocation

        protected boolean validateMigrationLocation​(@NotNull
                                                    @NotNull String path,
                                                    @NotNull
                                                    @NotNull String pathField,
                                                    @NotNull
                                                    @NotNull String filename,
                                                    @NotNull
                                                    @NotNull String fileField)
      • validatePathIfSetByUser

        protected void validatePathIfSetByUser​(String path,
                                               String fieldName)