Class PBXTarget
- java.lang.Object
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXObject
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXContainerItem
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXProjectItem
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXTarget
-
- Direct Known Subclasses:
PBXAggregateTarget
,PBXNativeTarget
public abstract class PBXTarget extends PBXProjectItem
Information for building a specific artifact (a library, binary, or test).
-
-
Constructor Summary
Constructors Constructor Description PBXTarget(String name, AbstractPBXObjectFactory objectFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XCConfigurationList
getBuildConfigurationList()
List<PBXBuildPhase>
getBuildPhases()
List<PBXTargetDependency>
getDependencies()
String
getName()
String
getProductName()
PBXFileReference
getProductReference()
ProductType
getProductType()
String
isa()
void
serializeInto(XcodeprojSerializer s)
Populates the serializer with the fields of this object.void
setBuildConfigurationList(XCConfigurationList buildConfigurationList)
void
setProductName(String productName)
void
setProductReference(PBXFileReference v)
void
setProductType(ProductType productType)
int
stableHash()
This method is used to generate stable GIDs and must be stable for identical contents.-
Methods inherited from class com.facebook.buck.apple.xcode.xcodeproj.PBXObject
generateGid, getGlobalID, setGlobalID, toString
-
-
-
-
Constructor Detail
-
PBXTarget
public PBXTarget(String name, AbstractPBXObjectFactory objectFactory)
-
-
Method Detail
-
getName
public String getName()
-
getDependencies
public List<PBXTargetDependency> getDependencies()
-
getBuildPhases
public List<PBXBuildPhase> getBuildPhases()
-
getBuildConfigurationList
public XCConfigurationList getBuildConfigurationList()
-
setBuildConfigurationList
public void setBuildConfigurationList(XCConfigurationList buildConfigurationList)
-
setProductName
public void setProductName(String productName)
-
getProductReference
@Nullable public PBXFileReference getProductReference()
-
setProductReference
public void setProductReference(PBXFileReference v)
-
getProductType
@Nullable public ProductType getProductType()
-
setProductType
public void setProductType(@Nullable ProductType productType)
-
isa
public String isa()
- Overrides:
isa
in classPBXProjectItem
- Returns:
- Type name of the serialized object.
-
stableHash
public int stableHash()
Description copied from class:PBXObject
This method is used to generate stable GIDs and must be stable for identical contents. Returning a constant value is ok but will make the generated project order-dependent.- Overrides:
stableHash
in classPBXObject
-
serializeInto
public void serializeInto(XcodeprojSerializer s)
Description copied from class:PBXObject
Populates the serializer with the fields of this object.- Overrides:
serializeInto
in classPBXContainerItem
-
-