@sap/generator-adaptation-project
Version:
Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.
58 lines (57 loc) • 1.84 kB
TypeScript
import Generator = require("yeoman-generator");
import { Log, LogFn } from "@sap/adp-common";
declare class DeploymentGenerator extends Generator {
setPromptsCallback: (fn: FunctionConstructor) => void;
private prompts;
private generatorOptions;
private requiresAuth;
private projectData;
private destinations;
private answers;
private project;
private deploymentData;
private isRunningIsBAS;
private localDestinationService;
private packageName;
private isCloudProject;
private abapService;
private abapProvider;
private hasDeployConfig;
private hasFlpConfig;
private endPointsManager;
private shouldAddConfigs;
private projectPath;
private credentials;
private flpConfigAnswers;
private deployConfigAnwers;
protected readonly logger: Log<LogFn>;
constructor(args: string | string[], opts: any);
private _setPages;
initializing(): Promise<void>;
private _getBasicCredentialsPrompts;
prompting(): Promise<any>;
private _collectAbapCloudAnswers;
private _getFlpPrompts;
private _getDeployConfigPrompts;
private _getAbapOnPremisePrompts;
private _getProjectService;
private _createProject;
private _getDeploymentData;
private _getDeploymentNotAllowedPrompt;
private _getLocalDestinationsPrompt;
private _getCredentialsPrompt;
private _getInitialDataPrompts;
private _validateSystem;
private _validatePackage;
_getSystemForTransportAndPackageLists(): string;
private _getPackageDataPrompts;
private _getOptionsDataPrompts;
private _projectDeploy;
private _projectUpdate;
private _projectUndeploy;
private _abapActions;
private _cloudReadyActions;
private _generateConfigs;
default(): Promise<void>;
}
export = DeploymentGenerator;