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

org.deephacks.tools4j.config.internal.core.runtime.typesafe.ConfigParseable Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
/**
 *   Copyright (C) 2011-2012 Typesafe Inc. 
 */
package org.deephacks.tools4j.config.internal.core.runtime.typesafe;


/**
 * An opaque handle to something that can be parsed, obtained from
 * {@link ConfigIncludeContext}.
 *
 * 

* Do not implement this interface; it should only be implemented by * the typesafe library. Arbitrary implementations will not work because the * library internals assume a specific concrete implementation. Also, this * interface is likely to grow new methods over time, so third-party * implementations will break. */ public interface ConfigParseable { /** * Parse whatever it is. The options should come from * {@link ConfigParseable#options options()} but you could tweak them if you * like. * * @param options * parse options, should be based on the ones from * {@link ConfigParseable#options options()} */ ConfigObject parse(ConfigParseOptions options); /** * Returns a {@link ConfigOrigin} describing the origin of the parseable * item. */ ConfigOrigin origin(); /** * Get the initial options, which can be modified then passed to parse(). * These options will have the right description, includer, and other * parameters already set up. */ ConfigParseOptions options(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy