com.boozallen.aiops.mda.generator.AsynchronousStepJavaGenerator 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
The newest version!
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 org.technologybrewery.fermenter.mda.generator.GenerationContext;
import com.boozallen.aiops.mda.metamodel.element.Step;
/**
* Generate asynchronous step implementations for the target pipeline.
*/
public class AsynchronousStepJavaGenerator extends TargetedPipelineStepJavaGenerator {
/*--~-~-~~
* Usages:
* | Target | Template | Generated File |
* |-----------------------|----------------------------------------------------------|----------------------------------|
* | javaBatchCreatorBase | data-delivery-spark/asynchronous.processor.base.java.vm | ${basePackage}/${name}Base.java |
* | javaBatchCreatorImpl | data-delivery-spark/asynchronous.processor.impl.java.vm | ${basePackage}/${name}.java |
*/
@Override
protected boolean shouldGenerateStep(Step step, GenerationContext generationContext) {
return isAsynchronousStep(step);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy