@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
28 lines • 939 B
TypeScript
import { Project } from "@atomist/automation-client/lib/project/Project";
import { ParametersObject } from "../../../../api/registration/ParametersDefinition";
/**
* Parameter interface for Java project creation.
*/
export interface JavaProjectCreationParameters {
enteredArtifactId?: string;
groupId: string;
rootPackage: string;
version: string;
description?: string;
}
/**
* Java project generator parameters definitions.
*/
export declare const JavaProjectCreationParameterDefinitions: ParametersObject<{
enteredArtifactId: string;
groupId: string;
rootPackage: string;
version: string;
description: string;
}>;
/**
* Compute the artifact id to use from the given parameters.
* Falls back to repo name if not provided
*/
export declare function computeArtifactId(params: JavaProjectCreationParameters, project: Project): string;
//# sourceMappingURL=JavaProjectCreationParameters.d.ts.map