com.boozallen.aiops.mda.generator.AsynchronousStepPythonGenerator Maven / Gradle / Ivy
package com.boozallen.aiops.mda.generator;
/*-
* #%L
* AIOps Foundation::AIOps MDA
* %%
* Copyright (C) 2021 Booz Allen
* %%
* This software package is licensed under the Booz Allen Public License. All Rights Reserved.
* #L%
*/
import static com.boozallen.aiops.mda.generator.util.PipelineUtils.isAsynchronousStep;
import com.boozallen.aiops.mda.metamodel.element.Step;
import org.technologybrewery.fermenter.mda.generator.GenerationContext;
public class AsynchronousStepPythonGenerator extends TargetedPipelineStepPythonGenerator {
/*--~-~-~~
* Usages:
* | Target | Template | Generated File |
* |-----------------------------------|----------------------------------------------------------|-----------------------|
* | pySparkAsynchronousProcessorBase | data-delivery-pyspark/asynchronous.processor.base.py.vm | step/${name}_base.py |
* | pySparkAsynchronousProcessorImpl | data-delivery-pyspark/asynchronous.processor.impl.py.vm | step/${name}.py |
*/
@Override
protected boolean shouldGenerateStep(Step step, GenerationContext generationContext) {
return isAsynchronousStep(step);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy