public class ManifestEntriesTypeCoercer extends LeafTypeCoercer<ManifestEntries>
TypeCoercer
that takes a dict object generated by the manifest_entries() python function
and coverts it to ManifestEntries
. This class takes care of parsing each dict entry,
making sure it conforms to the specification in ManifestEntries
.TypeCoercer.Traversal
Constructor and Description |
---|
ManifestEntriesTypeCoercer() |
Modifier and Type | Method and Description |
---|---|
ManifestEntries |
coerce(CellNameResolver cellRoots,
ProjectFilesystem filesystem,
ForwardRelativePath pathRelativeToProjectRoot,
TargetConfiguration targetConfiguration,
TargetConfiguration hostConfiguration,
Object object) |
com.google.common.reflect.TypeToken<ManifestEntries> |
getOutputType() |
coerceToUnconfigured, getUnconfiguredType, hasElementClass, traverse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenation, unconfiguredToConfiguredCoercionIsIdentity
public com.google.common.reflect.TypeToken<ManifestEntries> getOutputType()
public ManifestEntries coerce(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, TargetConfiguration targetConfiguration, TargetConfiguration hostConfiguration, Object object) throws CoerceFailedException
CoerceFailedException
- Input object cannot be coerced into the given type.