public final class DatarefExtension extends Object implements CloudEventExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
DATAREF
The key of the
dataref extension |
| Constructor and Description |
|---|
DatarefExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URI |
getDataref() |
Set<String> |
getKeys() |
Object |
getValue(String key) |
int |
hashCode() |
void |
readFrom(CloudEventExtensions extensions) |
void |
setDataref(URI dataref) |
String |
toString() |
public static final String DATAREF
dataref extensionpublic URI getDataref()
dataref contained in this extension.public void setDataref(URI dataref)
dataref - the uri to set as dataref.public void readFrom(CloudEventExtensions extensions)
readFrom in interface CloudEventExtensionpublic Object getValue(String key)
getValue in interface CloudEventExtensionpublic Set<String> getKeys()
getKeys in interface CloudEventExtensionCopyright © 2024. All rights reserved.