@finos/legend-extension-dsl-data-quality
Version:
Legend extension for Data Quality
43 lines • 2.39 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 { type Mapping, type PackageableElement, type Runtime } from '@finos/legend-graph';
import type { EditorStore, ElementEditorState } from '@finos/legend-application-studio';
import { DataQualityClassValidationsConfiguration } from '../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
import { DataQualityState } from './DataQualityState.js';
import { type DataSpaceInfo, type DataSpaceExecutionContext, DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
import { CLASS_ELEMENT_CREATION_BASIS } from '../DSL_DataQuality_ElementDriver.js';
import { type GeneratorFn } from '@finos/legend-shared';
export declare class DataQualityClassValidationState extends DataQualityState {
dataSpace?: DataSpace | undefined;
dataSpaces: DataSpaceInfo[];
validationElementCreationBasis: CLASS_ELEMENT_CREATION_BASIS;
constructor(editorStore: EditorStore, element: DataQualityClassValidationsConfiguration);
reprocess(newElement: PackageableElement, editorStore: EditorStore): ElementEditorState;
get constraintsConfigurationElement(): DataQualityClassValidationsConfiguration;
initializeState(): void;
changeMapping(val: Mapping, options?: {
keepQueryContent?: boolean;
}): void;
changeRuntime(val: Runtime): void;
updateElementOnMappingChange(): void;
updateElementOnRuntimeChange(runtime: Runtime): void;
updateElementOnExecutionContextChange(context: string): void;
propagateExecutionContextChange(executionContext: DataSpaceExecutionContext): void;
onDataSpaceChange(dataSpaceInfo: DataSpaceInfo): void;
updateElementOnDataSpaceChange(): void;
loadDataSpaces(): GeneratorFn<void>;
}
//# sourceMappingURL=DataQualityClassValidationState.d.ts.map