public abstract class BuckPaths extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_BUCK_OUT_INCLUDE_TARGET_CONFIG_HASH
Default value for
shouldIncludeTargetConfigHash() when it is not specified by user. |
Constructor and Description |
---|
BuckPaths() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBuckOut() |
static BuckPaths |
createDefaultBuckPaths(CanonicalCellName cellName,
Path rootPath,
boolean buckOutIncludeTargetConfigHash) |
Path |
getAnnotationDir() |
abstract Path |
getBuckOut()
The relative path to the directory where Buck will generate its files.
|
static boolean |
getBuckOutIncludeTargetConfigHashFromRootCellConfig(Config config)
Is hashed buck-out enabled? Must be queried using root cell buckconfig.
|
Path |
getCacheDir() |
abstract CanonicalCellName |
getCellName() |
abstract Path |
getConfiguredBuckOut()
The relative path to the directory where Buck will generate its files.
|
Path |
getCurrentVersionFile()
The version the buck output directory was created for
|
Path |
getEmbeddedCellsBuckOutBaseDir() |
Path |
getGenDir() |
Path |
getJournalDir() |
Path |
getLastOutputDir() |
Path |
getLogDir() |
Path |
getOfflineLogDir() |
Path |
getProjectRootDir() |
Path |
getRemoteSandboxDir() |
Path |
getResDir() |
Path |
getScratchDir() |
Path |
getSymlinkPathForDir(Path unconfiguredDirInBuckOut) |
Path |
getTmpDir() |
Path |
getTraceDir() |
Path |
getTrashDir() |
Path |
getXcodeDir() |
static BuckPaths |
of(CanonicalCellName cellName,
Path buckOut,
Path configuredBuckOut,
boolean shouldIncludeTargetConfigHash) |
abstract boolean |
shouldIncludeTargetConfigHash()
Whether to include the target configuration hash on buck-out.
|
BuckPaths |
withBuckOut(Path buckOut) |
BuckPaths |
withConfiguredBuckOut(Path configuredBuckOut) |
public static final boolean DEFAULT_BUCK_OUT_INCLUDE_TARGET_CONFIG_HASH
shouldIncludeTargetConfigHash()
when it is not specified by user.public static BuckPaths createDefaultBuckPaths(CanonicalCellName cellName, Path rootPath, boolean buckOutIncludeTargetConfigHash)
public static boolean getBuckOutIncludeTargetConfigHashFromRootCellConfig(Config config)
public abstract CanonicalCellName getCellName()
public abstract Path getBuckOut()
@Value.Check protected void checkBuckOut()
public abstract Path getConfiguredBuckOut()
public abstract boolean shouldIncludeTargetConfigHash()
@Value.Derived public Path getCurrentVersionFile()
@Value.Derived public Path getGenDir()
@Value.Derived public Path getResDir()
@Value.Derived public Path getScratchDir()
@Value.Derived public Path getAnnotationDir()
@Value.Derived public Path getLogDir()
@Value.Derived public Path getJournalDir()
@Value.Derived public Path getTraceDir()
@Value.Derived public Path getCacheDir()
@Value.Derived public Path getTmpDir()
@Value.Derived public Path getXcodeDir()
@Value.Derived public Path getTrashDir()
@Value.Derived public Path getOfflineLogDir()
@Value.Derived public Path getRemoteSandboxDir()
@Value.Derived public Path getLastOutputDir()
@Value.Derived public Path getEmbeddedCellsBuckOutBaseDir()
@Value.Derived public Path getProjectRootDir()
public static BuckPaths of(CanonicalCellName cellName, Path buckOut, Path configuredBuckOut, boolean shouldIncludeTargetConfigHash)