/** * Copyright 2013-2026 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import BaseApplicationGenerator from '../base-simple-application/index.ts'; import type { Application as SpringDataRelationalApplication } from '../spring-boot/generators/data-relational/index.ts'; import { getJdbcUrl, getR2dbcUrl } from '../spring-boot/generators/data-relational/support/index.ts'; import type { Application as SpringBootApplication } from '../spring-boot/index.ts'; import type { Application as DockerApplication, Config as DockerConfig, Options as DockerOptions, Source as DockerSource } from './types.ts'; type Application = DockerApplication & SpringDataRelationalApplication & SpringBootApplication; export default class DockerGenerator extends BaseApplicationGenerator { [BaseApplicationGenerator.PREPARING]: Record<"dockerServices" | "addAppServices", import("../base-core/types.js").GenericTask>>; [BaseApplicationGenerator.WRITING]: Record<"writeDockerFiles", import("../base-core/types.js").GenericTask>>; [BaseApplicationGenerator.POST_WRITING]: Record>; hasServicesFile: boolean; beforeQueue(): Promise; get preparing(): Record<"dockerServices" | "addAppServices", import("../base-core/types.js").GenericTask>>; get writing(): Record<"writeDockerFiles", import("../base-core/types.js").GenericTask>>; get postWriting(): Record<"packageJsonScripts" | "dockerServices", import("../base-core/types.js").GenericTask>; get end(): Record<"dockerComposeUp", import("../base-core/types.js").GenericTask>>; /** * @private * Returns the JDBC URL for a databaseType */ getJDBCUrl(...args: Parameters): string; /** * @private * Returns the R2DBC URL for a databaseType * * @param {string} databaseType * @param {*} options: databaseName, and required infos that depends of databaseType (hostname, localDirectory, ...) */ getR2DBCUrl(...args: Parameters): string; } export {};