Class DefaultInfo
- java.lang.Object
-
- com.facebook.buck.core.starlark.compatible.BuckStarlarkStructObject
-
- com.facebook.buck.core.rules.providers.impl.BuiltInProviderInfo<DefaultInfo>
-
- com.facebook.buck.core.rules.providers.lib.DefaultInfo
-
- All Implemented Interfaces:
ProviderInfo<DefaultInfo>
,SkylarkProviderInfo
,com.google.devtools.build.lib.skylarkinterface.SkylarkPrintable
,com.google.devtools.build.lib.skylarkinterface.SkylarkValue
,com.google.devtools.build.lib.syntax.ClassObject
- Direct Known Subclasses:
ImmutableDefaultInfo
public abstract class DefaultInfo extends BuiltInProviderInfo<DefaultInfo>
The standard default information that all rules should be propagating viaProviderInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description static BuiltInProvider<DefaultInfo>
PROVIDER
-
Constructor Summary
Constructors Constructor Description DefaultInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Set<Artifact>
defaultOutputs()
abstract com.google.devtools.build.lib.syntax.SkylarkDict<String,Set<Artifact>>
namedOutputs()
These are the named outputs of a rule.-
Methods inherited from class com.facebook.buck.core.rules.providers.impl.BuiltInProviderInfo
getDeclaredClass, getProvider, getProviderInfo, isImmutable
-
Methods inherited from class com.facebook.buck.core.starlark.compatible.BuckStarlarkStructObject
getErrorMessageForUnknownField, getFieldNames, getMethods, getValue, repr
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
PROVIDER
public static final BuiltInProvider<DefaultInfo> PROVIDER
-
-
Method Detail
-
namedOutputs
public abstract com.google.devtools.build.lib.syntax.SkylarkDict<String,Set<Artifact>> namedOutputs()
These are the named outputs of a rule. Named outputs are a mapping of String identifiers to a set of outputs of the rule that the name maps to.- Returns:
- a map of a String, which is the named identifier to a set of outputs.
-
-