public class DefaultInput<T> extends DefaultInputMetadata<T> implements BuildContext.Input<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(int line,
int column,
String message,
BuildContext.Severity severity,
Throwable cause) |
void |
addRequirement(String qualifier,
String localName) |
void |
associateIncludedInput(File includedFile) |
DefaultOutput |
associateOutput(BuildContext.Output<File> output) |
DefaultOutput |
associateOutput(File outputFile)
Convenience method, has the same effect as
|
boolean |
equals(Object obj) |
<V extends Serializable> |
getAttribute(String key,
Class<V> clazz)
Returns current attribute value.
|
int |
hashCode() |
<V extends Serializable> |
setAttribute(String key,
V value)
Returns attribute value associated with the key during previous build.
|
getAssociatedOutputs, getRequiredCapabilities, getResource, getStatus, processclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAssociatedOutputs, getStatus, processgetResourcepublic void associateIncludedInput(File includedFile)
associateIncludedInput in interface BuildContext.Input<T>public DefaultOutput associateOutput(BuildContext.Output<File> output)
associateOutput in interface BuildContext.Input<T>public DefaultOutput associateOutput(File outputFile)
BuildContext.Input
input.associateOutput(context.processOutput(outputFile));
associateOutput in interface BuildContext.Input<T>public <V extends Serializable> Serializable setAttribute(String key, V value)
BuildContext.ResourcesetAttribute in interface BuildContext.Resource<T>public void addMessage(int line,
int column,
String message,
BuildContext.Severity severity,
Throwable cause)
addMessage in interface BuildContext.Resource<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>getAttribute in class DefaultInputMetadata<T>Copyright © 2014. All Rights Reserved.