public class BuildConfigFieldsTypeCoercer extends LeafTypeCoercer<BuildConfigFields>
TypeCoercer that takes a list of strings and transforms it into a BuildConfigFields. This class takes care of parsing each string, making sure it conforms to the
specification in BuildConfigFields.TypeCoercer.Traversal| Constructor and Description |
|---|
BuildConfigFieldsTypeCoercer() |
| Modifier and Type | Method and Description |
|---|---|
BuildConfigFields |
coerce(CellNameResolver cellRoots,
ProjectFilesystem filesystem,
ForwardRelativePath pathRelativeToProjectRoot,
TargetConfiguration targetConfiguration,
TargetConfiguration hostConfiguration,
Object object) |
com.google.common.reflect.TypeToken<BuildConfigFields> |
getOutputType() |
coerceToUnconfigured, getUnconfiguredType, hasElementClass, traverseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenation, unconfiguredToConfiguredCoercionIsIdentitypublic com.google.common.reflect.TypeToken<BuildConfigFields> getOutputType()
public BuildConfigFields 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.