Tabnine Logo
ProfileContext.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.asakusafw.yaess.core.ProfileContext
constructor

Best Java code snippets using com.asakusafw.yaess.core.ProfileContext.<init> (Showing top 2 results out of 315)

origin: asakusafw/asakusafw

/**
 * Creates a new context with system variables as context parameters.
 * @param classLoader current class loader
 * @return the created context object
 * @throws IllegalArgumentException if some parameters were {@code null}
 */
public static ProfileContext system(ClassLoader classLoader) {
  return new ProfileContext(classLoader, new VariableResolver(System.getenv()));
}
origin: asakusafw/asakusafw

env.putAll(System.getenv());
env.putAll(toMap(variables));
result.context = new ProfileContext(loader, new VariableResolver(env));
Properties properties = CommandLineUtil.loadProperties(file);
result.profile = YaessProfile.load(properties, result.context);
com.asakusafw.yaess.coreProfileContext<init>

Javadoc

Creates a new instance.

Popular methods of ProfileContext

  • getContextParameters
    Returns context parameters (may be environment variables).
  • getClassLoader
    Returns a class loader to load services.
  • system
    Creates a new context with system variables as context parameters.

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JCheckBox (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now