public abstract class CommandRunnerParams extends Object
Constructor and Description |
---|
CommandRunnerParams() |
public abstract Console getConsole()
public abstract InputStream getStdIn()
public abstract Cells getCells()
public abstract Watchman getWatchman()
public abstract InstrumentedVersionedTargetGraphCache getVersionedTargetGraphCache()
public abstract ArtifactCacheFactory getArtifactCacheFactory()
public abstract TypeCoercerFactory getTypeCoercerFactory()
public abstract UnconfiguredBuildTargetViewFactory getUnconfiguredBuildTargetFactory()
public abstract Optional<TargetConfiguration> getTargetConfiguration()
public abstract Optional<TargetConfiguration> getHostConfiguration()
public abstract TargetConfigurationSerializer getTargetConfigurationSerializer()
public abstract Parser getParser()
public abstract BuckEventBus getBuckEventBus()
public abstract Platform getPlatform()
public abstract com.google.common.collect.ImmutableMap<String,String> getEnvironment()
public abstract JavaPackageFinder getJavaPackageFinder()
public abstract Clock getClock()
public abstract VersionControlStatsGenerator getVersionControlStatsGenerator()
public abstract Optional<ProcessManager> getProcessManager()
public abstract ConcurrentMap<String,WorkerProcessPool> getPersistentWorkerPools()
public abstract BuckConfig getBuckConfig()
public abstract StackedFileHashCache getFileHashCache()
public abstract com.google.common.collect.ImmutableMap<ExecutorPool,com.google.common.util.concurrent.ListeningExecutorService> getExecutors()
public abstract ScheduledExecutorService getScheduledExecutor()
public abstract BuildEnvironmentDescription getBuildEnvironmentDescription()
public abstract ActionGraphProvider getActionGraphProvider()
public abstract KnownRuleTypesProvider getKnownRuleTypesProvider()
public abstract BuildInfoStoreManager getBuildInfoStoreManager()
public abstract Optional<InvocationInfo> getInvocationInfo()
public abstract Optional<RuleKeyCacheRecycler<RuleKey>> getDefaultRuleKeyFactoryCacheRecycler()
public abstract ProjectFilesystemFactory getProjectFilesystemFactory()
public abstract RuleKeyConfiguration getRuleKeyConfiguration()
public abstract ProcessExecutor getProcessExecutor()
public abstract ExecutableFinder getExecutableFinder()
public abstract org.pf4j.PluginManager getPluginManager()
public abstract BuckModuleManager getBuckModuleManager()
public abstract CloseableMemoizedSupplier<DepsAwareExecutor<? super ComputeResult,?>> getDepsAwareExecutorSupplier()
public abstract MetadataProvider getMetadataProvider()
public abstract BuckGlobalState getGlobalState()
BuckGlobalState
object which is a set of objects bearing the data reflecting
filesystem state and thus shared between commandspublic abstract Path getClientWorkingDir()
NOTE: This is the path the the user was in when they invoked buck. The buck wrapper
executes buck from the project root, so this is not the same as most getCwd()
style
functions.
public BuildExecutorArgs createBuilderArgs()
BuildExecutorArgs
using this CommandRunnerParams
.BuildExecutorArgs
.public CommandRunnerParams withArtifactCacheFactory(ArtifactCacheFactory artifactCacheFactory)
public CommandRunnerParams withBuckConfig(BuckConfig buckConfig)