@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class SwiftLibraryDescriptionArg extends Object
SwiftLibraryDescription.AbstractSwiftLibraryDescriptionArg.
Use the builder to create immutable instances:
SwiftLibraryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SwiftLibraryDescriptionArg.Builder
Builds instances of type
SwiftLibraryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static SwiftLibraryDescriptionArg.Builder |
builder()
Creates a builder for
SwiftLibraryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
SwiftLibraryDescriptionArg that have equal attribute values. |
Optional<SourcePath> |
getBridgingHeader() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
com.google.common.collect.ImmutableList<StringWithMacros> |
getCompilerFlags() |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
Optional<Boolean> |
getEnableObjcInterop() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getFrameworks() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSortedSet<FrameworkPath> |
getLibraries() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
Optional<String> |
getModuleName() |
String |
getName()
Each rule has a name
|
Optional<NativeLinkableGroup.Linkage> |
getPreferredLinkage() |
Optional<String> |
getSoname() |
com.google.common.collect.ImmutableSortedSet<SourcePath> |
getSrcs() |
Optional<Pattern> |
getSupportedPlatformsRegex() |
Optional<String> |
getTargetSdkVersion()
The minimum OS version for which this target should be built.
|
Optional<String> |
getVersion() |
int |
hashCode()
Computes a hash code from attributes:
moduleName, compilerFlags, version, frameworks, libraries, enableObjcInterop, supportedPlatformsRegex, soname, bridgingHeader, preferredLinkage, targetSdkVersion, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps, srcs. |
String |
toString()
Prints the immutable value
SwiftLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic Optional<String> getModuleName()
moduleName attributepublic com.google.common.collect.ImmutableList<StringWithMacros> getCompilerFlags()
compilerFlags attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getFrameworks()
frameworks attributepublic com.google.common.collect.ImmutableSortedSet<FrameworkPath> getLibraries()
libraries attributepublic Optional<Boolean> getEnableObjcInterop()
enableObjcInterop attributepublic Optional<Pattern> getSupportedPlatformsRegex()
supportedPlatformsRegex attributepublic Optional<SourcePath> getBridgingHeader()
bridgingHeader attributepublic Optional<NativeLinkableGroup.Linkage> getPreferredLinkage()
preferredLinkage attributepublic Optional<String> getTargetSdkVersion()
public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
config_setting a target is compatible with.public String getName()
public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic com.google.common.collect.ImmutableSortedSet<SourcePath> getSrcs()
srcs attributepublic boolean equals(@Nullable Object another)
SwiftLibraryDescriptionArg that have equal attribute values.public int hashCode()
moduleName, compilerFlags, version, frameworks, libraries, enableObjcInterop, supportedPlatformsRegex, soname, bridgingHeader, preferredLinkage, targetSdkVersion, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps, srcs.public String toString()
SwiftLibraryDescriptionArg with attribute values.public static SwiftLibraryDescriptionArg.Builder builder()
SwiftLibraryDescriptionArg.