Class ExecutionContext

    • Constructor Detail

      • ExecutionContext

        public ExecutionContext()
    • Method Detail

      • getConsole

        public abstract Console getConsole()
      • getBuckEventBus

        public abstract BuckEventBus getBuckEventBus()
      • getPlatform

        public abstract Platform getPlatform()
      • getEnvironment

        public abstract com.google.common.collect.ImmutableMap<String,​String> getEnvironment()
      • getExecutors

        public abstract com.google.common.collect.ImmutableMap<ExecutorPool,​com.google.common.util.concurrent.ListeningExecutorService> getExecutors()
      • getPersistentWorkerPools

        public abstract Optional<ConcurrentMap<String,​WorkerProcessPool>> getPersistentWorkerPools()
        Worker process pools that are persisted across buck invocations inside buck daemon. If buck is running without daemon, there will be no persisted pools.
      • getCells

        public abstract Cells getCells()
      • getProcessExecutor

        public abstract ProcessExecutor getProcessExecutor()
      • getDefaultTestTimeoutMillis

        @Default
        public long getDefaultTestTimeoutMillis()
      • isCodeCoverageEnabled

        @Default
        public boolean isCodeCoverageEnabled()
      • isInclNoLocationClassesEnabled

        @Default
        public boolean isInclNoLocationClassesEnabled()
      • shouldReportAbsolutePaths

        @Default
        public boolean shouldReportAbsolutePaths()
      • isDebugEnabled

        @Default
        public boolean isDebugEnabled()
      • isTruncateFailingCommandEnabled

        @Default
        public boolean isTruncateFailingCommandEnabled()
      • getWorkerProcessPools

        @Default
        public ConcurrentMap<String,​WorkerProcessPool> getWorkerProcessPools()
        Worker process pools that you can populate as needed. These will be destroyed as soon as buck invocation finishes, thus, these pools are not persisted across buck invocations.
      • getVerbosity

        @Derived
        public Verbosity getVerbosity()
      • getBuildId

        @Derived
        public BuildId getBuildId()
      • getAnsi

        @Derived
        public Ansi getAnsi()
      • postEvent

        public void postEvent​(BuckEvent event)