class DataUtils {

    public static List<String> getAllArtifacts(final DbModule module) {
        final List<String> gavcs = module.getArtifacts();

        for(final DbModule submodule: module.getSubmodules()){
            gavcs.addAll(getAllArtifacts(submodule));
        }

        return gavcs;
    }

    private  DataUtils();

}