
com.boozallen.aiops.mda.generator.GenericStepPythonGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation-mda Show documentation
Show all versions of foundation-mda Show documentation
Model driven architecture artifacts for aiSSEMBLE
package com.boozallen.aiops.mda.generator;
/*-
* #%L
* aiSSEMBLE::Foundation::MDA
* %%
* Copyright (C) 2021 Booz Allen
* %%
* This software package is licensed under the Booz Allen Public License. All Rights Reserved.
* #L%
*/
import com.boozallen.aiops.mda.metamodel.element.Step;
import org.technologybrewery.fermenter.mda.generator.GenerationContext;
import static com.boozallen.aiops.mda.generator.util.PipelineUtils.isGenericStep;
public class GenericStepPythonGenerator extends TargetedPipelineStepPythonGenerator {
/*--~-~-~~
* Usages:
* | Target | Template | Generated File |
* |-------------------------|---------------------------------------------|-----------------------|
* | pythonGenericStepBase | pipeline-common/generic.base.py.vm | ${name}_base.py |
* | pySparkGenericStepBase | pipeline-common/generic.base.py.vm | step/${name}_base.py |
* | pySparkGenericStepImpl | pipeline-common/generic.pyspark.step.py.vm | step/${name}.py |
* | pythonGenericStepImpl | pipeline-common/generic.python.step.py.vm | impl/${name}.py |
*/
@Override
protected boolean shouldGenerateStep(Step step, GenerationContext generationContext) {
return isGenericStep(step);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy