public class DefaultInputMetadata<T> extends Object implements BuildContext.InputMetadata<T>
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends BuildContext.OutputMetadata<File>> |
getAssociatedOutputs()
Returns outputs associated with this input during the previous build.
|
<V extends Serializable> |
getAttribute(String key,
Class<V> clazz)
Returns current attribute value.
|
Collection<String> |
getRequiredCapabilities(String qualifier) |
T |
getResource() |
BuildContext.ResourceStatus |
getStatus()
Returns up-to-date status of this input compared to the previous build.
|
DefaultInput<T> |
process() |
public T getResource()
getResource in interface BuildContext.ResourceMetadata<T>public Iterable<? extends BuildContext.OutputMetadata<File>> getAssociatedOutputs()
BuildContext.InputMetadatagetAssociatedOutputs in interface BuildContext.InputMetadata<T>public BuildContext.ResourceStatus getStatus()
BuildContext.InputMetadatagetStatus in interface BuildContext.InputMetadata<T>getStatus in interface BuildContext.ResourceMetadata<T>public <V extends Serializable> V getAttribute(String key, Class<V> clazz)
BuildContext.ResourceMetadataFor registered (but not processed) inputs and carried over outputs, returns value associated with the key during previous build. For processed inputs and outputs, returns value associated with the key during this build.
getAttribute in interface BuildContext.ResourceMetadata<T>public DefaultInput<T> process()
process in interface BuildContext.InputMetadata<T>public Collection<String> getRequiredCapabilities(String qualifier)
Copyright © 2014. All Rights Reserved.