All Downloads are FREE. Search and download functionalities are using the official Maven repository.

poussecafe.doc.BoundedContextDocCreator Maven / Gradle / Ivy

There is a newer version: 0.29.0
Show newest version
package poussecafe.doc;

import java.util.function.Consumer;
import javax.lang.model.element.PackageElement;
import poussecafe.doc.model.boundedcontextdoc.BoundedContextDocFactory;
import poussecafe.doc.process.BoundedContextDocCreation;

public class BoundedContextDocCreator implements Consumer {

    @Override
    public void accept(PackageElement classDoc) {
        if (boundedContextDocFactory.isBoundedContextDoc(classDoc)) {
            Logger.debug("Adding bounded context from package " + classDoc.getQualifiedName().toString());
            boundedContextDocCreation.addBoundedContextDoc(classDoc);
        }
    }

    private BoundedContextDocFactory boundedContextDocFactory;

    private BoundedContextDocCreation boundedContextDocCreation;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy