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

pub.codex.apix.build.ApiListingBuilder Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package pub.codex.apix.build;

import pub.codex.apix.schema.ApiDescription;
import pub.codex.apix.schema.ApiListing;

import java.util.List;

import static com.google.common.collect.Lists.newArrayList;

public class ApiListingBuilder {

    private List apis = newArrayList();


    public static ApiListingBuilder getBuild() {
        return new ApiListingBuilder();
    }

    public ApiListingBuilder apis(List apis) {
        if (apis != null) {
            this.apis = apis;
        }
        return this;
    }



    public ApiListing build() {
        return new ApiListing(apis);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy