public class DefaultOutput extends DefaultOutputMetadata implements BuildContext.Output<File>
| Modifier and Type | Method and Description |
|---|---|
void |
addCapability(String qualifier,
String localName) |
void |
addMessage(int line,
int column,
String message,
BuildContext.Severity severity,
Throwable cause) |
<I> void |
associateInput(BuildContext.InputMetadata<I> input) |
boolean |
equals(Object obj) |
<V extends Serializable> |
getAttribute(String key,
Class<V> clazz)
Returns current attribute value.
|
int |
hashCode() |
OutputStream |
newOutputStream() |
<V extends Serializable> |
setAttribute(String key,
V value)
Returns attribute value associated with the key during previous build.
|
getAssociatedInputs, getCapabilities, getResource, getStatusclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAssociatedInputs, getStatusgetResourcepublic OutputStream newOutputStream() throws IOException
newOutputStream in interface BuildContext.Output<File>IOExceptionpublic <I> void associateInput(BuildContext.InputMetadata<I> input)
associateInput in interface BuildContext.Output<File>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<File>getAttribute in class DefaultOutputMetadatapublic <V extends Serializable> Serializable setAttribute(String key, V value)
BuildContext.ResourcesetAttribute in interface BuildContext.Resource<File>public void addMessage(int line,
int column,
String message,
BuildContext.Severity severity,
Throwable cause)
addMessage in interface BuildContext.Resource<File>Copyright © 2014. All Rights Reserved.