Class Provider
- java.lang.Object
-
- com.adobe.aio.event.management.model.Provider
-
public class Provider extends Object
The Adobe I/O Events Provider model
-
-
Field Summary
Fields Modifier and Type Field Description protected String
eventDeliveryFormat
protected String
instanceId
protected String
providerMetadata
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDescription()
The description of this Events Provider, as shown on the Adobe I/O consoleString
getDocsUrl()
The documentation url of this Events Provider, as shown on the Adobe I/O consoleEventMetadataCollection.EventMetadataList
getEmbeddedEventMetadata()
String
getEventDeliveryFormat()
List<EventMetadata>
getEventMetadata()
String
getId()
The Id of this Events ProviderString
getInstanceId()
The instanceId of this Events Provider, this can be null/NAString
getLabel()
The label of this Events Provider, as shown on the Adobe I/O consoleString
getProviderMetadata()
String
getPublisher()
The publisher is `Adobe` for Adobe Cloud Solution.String
getSource()
A URI-reference (this provider id prefixed with `urn:uuid:`), identifying the context in which an event happened.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
The Id of this Events Provider- Returns:
- id
-
getLabel
public String getLabel()
The label of this Events Provider, as shown on the Adobe I/O console- Returns:
- label
-
getDescription
public String getDescription()
The description of this Events Provider, as shown on the Adobe I/O console- Returns:
- description
-
getInstanceId
public String getInstanceId()
The instanceId of this Events Provider, this can be null/NA- Returns:
- instanceId
-
getSource
public String getSource()
A URI-reference (this provider id prefixed with `urn:uuid:`), identifying the context in which an event happened. Producers MUST ensure that source + event.id is unique for each distinct event. See https://github.com/cloudevents/spec/blob/master/spec.md#source-1- Returns:
- source
-
getDocsUrl
public String getDocsUrl()
The documentation url of this Events Provider, as shown on the Adobe I/O console- Returns:
- docsUrl
-
getPublisher
public String getPublisher()
The publisher is `Adobe` for Adobe Cloud Solution. In the case of multi-instances or on-premise Adobe solutions: the publisher will be set to the organization_id owning this solution. In the case of event-providers registered by an organization using Adobe I/O registration API: the publisher will be set to the organization_id which registered this event providers- Returns:
- publisher
-
getProviderMetadata
public String getProviderMetadata()
- Returns:
- an provider_metadata id defining the type of provider
-
getEventDeliveryFormat
public String getEventDeliveryFormat()
- Returns:
- the Event Delivery Format, either: the old legacy`adobe_io` format or better `cloud_events_v1` (see https://github.com/cloudevents/spec/blob/v1.0/spec.md),
- See Also:
ProviderInputModel.DELIVERY_FORMAT_ADOBE_IO
,ProviderInputModel.DELIVERY_FORMAT_CLOUD_EVENTS_V1
-
getEmbeddedEventMetadata
public EventMetadataCollection.EventMetadataList getEmbeddedEventMetadata()
-
getEventMetadata
public List<EventMetadata> getEventMetadata()
-
-