public class BuildTargetWithOutputsTypeCoercer extends LeafTypeNewCoercer<UnconfiguredBuildTargetWithOutputs,BuildTargetWithOutputs>
BuildTarget instances that can optionally have output labels.TypeCoercer.Traversal| Constructor and Description | 
|---|
BuildTargetWithOutputsTypeCoercer(TypeCoercer<UnconfiguredBuildTargetWithOutputs,UnconfiguredBuildTargetWithOutputs> unconfiguredCoercer)  | 
| Modifier and Type | Method and Description | 
|---|---|
BuildTargetWithOutputs | 
coerce(CellNameResolver cellRoots,
      ProjectFilesystem filesystem,
      ForwardRelativePath pathRelativeToProjectRoot,
      TargetConfiguration targetConfiguration,
      TargetConfiguration hostConfiguration,
      UnconfiguredBuildTargetWithOutputs object)  | 
UnconfiguredBuildTargetWithOutputs | 
coerceToUnconfigured(CellNameResolver cellRoots,
                    ProjectFilesystem filesystem,
                    ForwardRelativePath pathRelativeToProjectRoot,
                    Object object)
Coerce to a value for unconfigured graph. 
 | 
com.google.common.reflect.TypeToken<BuildTargetWithOutputs> | 
getOutputType()  | 
com.google.common.reflect.TypeToken<UnconfiguredBuildTargetWithOutputs> | 
getUnconfiguredType()  | 
hasElementClass, traverseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenation, unconfiguredToConfiguredCoercionIsIdentitypublic BuildTargetWithOutputsTypeCoercer(TypeCoercer<UnconfiguredBuildTargetWithOutputs,UnconfiguredBuildTargetWithOutputs> unconfiguredCoercer)
public com.google.common.reflect.TypeToken<BuildTargetWithOutputs> getOutputType()
public com.google.common.reflect.TypeToken<UnconfiguredBuildTargetWithOutputs> getUnconfiguredType()
public UnconfiguredBuildTargetWithOutputs coerceToUnconfigured(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, Object object) throws CoerceFailedException
TypeCoercerCoerceFailedExceptionpublic BuildTargetWithOutputs coerce(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, TargetConfiguration targetConfiguration, TargetConfiguration hostConfiguration, UnconfiguredBuildTargetWithOutputs object) throws CoerceFailedException
CoerceFailedException - Input object cannot be coerced into the given type.