public static enum PBXReference.SourceTree extends Enum<PBXReference.SourceTree>
| Enum Constant and Description |
|---|
ABSOLUTE
Absolute system path.
|
BUILT_PRODUCTS_DIR
Relative to the build setting
BUILT_PRODUCTS_DIR. |
DEVELOPER_DIR
Relative to the Developer content directory inside the Xcode application (e.g.
|
GROUP
Relative to the path of the group containing this.
|
PLATFORM_DIR
Relative to the build setting
PLATFORM_DIR. |
SDKROOT
Relative to the build setting
SDKROOT. |
SOURCE_ROOT
Relative to the directory containing the project file
SOURCE_ROOT. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<PBXReference.SourceTree> |
fromBuildSetting(String buildSetting)
Return a sourceTree given a build setting that is typically used as a source tree prefix.
|
String |
toString() |
static PBXReference.SourceTree |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PBXReference.SourceTree[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PBXReference.SourceTree GROUP
public static final PBXReference.SourceTree ABSOLUTE
public static final PBXReference.SourceTree BUILT_PRODUCTS_DIR
BUILT_PRODUCTS_DIR.public static final PBXReference.SourceTree PLATFORM_DIR
PLATFORM_DIR.public static final PBXReference.SourceTree SDKROOT
SDKROOT.public static final PBXReference.SourceTree SOURCE_ROOT
SOURCE_ROOT.public static final PBXReference.SourceTree DEVELOPER_DIR
/Applications/Xcode.app/Contents/Developer).public static PBXReference.SourceTree[] values()
for (PBXReference.SourceTree c : PBXReference.SourceTree.values()) System.out.println(c);
public static PBXReference.SourceTree valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<PBXReference.SourceTree>public static Optional<PBXReference.SourceTree> fromBuildSetting(String buildSetting)
The build setting may be optionally prefixed by '$' which will be stripped.