class RepositoryConfiguration {

    public static RepositoryConfiguration read( URL url ) throws ParsingException {
        CheckArg.isNotNull(url, "url");
        Document doc = Json.read(url);
        return new RepositoryConfiguration(doc, withoutExtension(url.getFile()));
    }

    public  RepositoryConfiguration();
    public  RepositoryConfiguration( String name );
    public  RepositoryConfiguration( Document document,
                                    String documentName );
    public  RepositoryConfiguration( String name,
                                    Environment environment );
    public  RepositoryConfiguration( Document document,
                                    String documentName,
                                    Environment environment );

}