@finos/legend-server-sdlc
Version:
Legend SDLC server client
49 lines • 2.2 kB
TypeScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* 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
*
* http://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 { ProjectStructureVersion } from '../configuration/ProjectStructureVersion.js';
import { ProjectDependency } from '../configuration/ProjectDependency.js';
import { type Hashable, SerializationFactory } from '@finos/legend-shared';
import { PlatformConfiguration } from './PlatformConfiguration.js';
/**
* Embedded Mode enables user to manage their pipeline/build and deployment flow.
* This will disable releasing and platform version configuration.
* Additionally, the concept of extension version will not be applicable when dealing with project structure version.
*/
export declare enum ProjectType {
MANAGED = "MANAGED",
EMBEDDED = "EMBEDDED"
}
export declare class ProjectConfiguration implements Hashable {
projectId: string;
groupId: string;
artifactId: string;
projectType: ProjectType | undefined;
projectStructureVersion: ProjectStructureVersion;
platformConfigurations?: PlatformConfiguration[] | undefined;
projectDependencies: ProjectDependency[];
runDependencyTests?: boolean | undefined;
constructor();
static readonly serialization: SerializationFactory<ProjectConfiguration>;
setRunDependencyTests(val: boolean | undefined): void;
setGroupId(val: string): void;
setPlatformConfigurations(val: PlatformConfiguration[] | undefined): void;
setArtifactId(val: string): void;
deleteProjectDependency(val: ProjectDependency): void;
addProjectDependency(val: ProjectDependency): void;
get dependencyKey(): string;
get hashCode(): string;
}
//# sourceMappingURL=ProjectConfiguration.d.ts.map