public class WebhookListener extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Long |
entity |
protected List<String> |
entityStates |
protected Long |
id |
protected WebhookIdentity |
identity |
protected Long |
linkedSpaceId |
protected String |
name |
protected Boolean |
notifyEveryChange |
protected OffsetDateTime |
plannedPurgeDate |
protected CreationEntityState |
state |
protected WebhookUrl |
url |
protected Integer |
version |
| Constructor and Description |
|---|
WebhookListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getEntity()
The listener listens on state changes of the entity linked with the listener.
|
List<String> |
getEntityStates()
The target state identifies the state into which entities need to move into to trigger the webhook listener.
|
Long |
getId()
The ID is the primary key of the entity.
|
WebhookIdentity |
getIdentity()
The identity which will be used to sign messages sent by this listener.
|
Long |
getLinkedSpaceId()
The linked space id holds the ID of the space to which the entity belongs to.
|
String |
getName()
The webhook listener name is used internally to identify the webhook listener in administrative interfaces.For example it is used within search fields and hence it should be distinct and descriptive.
|
OffsetDateTime |
getPlannedPurgeDate()
The planned purge date indicates when the entity is permanently removed.
|
CreationEntityState |
getState() |
WebhookUrl |
getUrl()
The URL which is invoked by the listener to notify the application about the event.
|
Integer |
getVersion()
The version number indicates the version of the entity.
|
int |
hashCode() |
Boolean |
isNotifyEveryChange()
Defines whether the webhook listener is to be informed about every change made to the entity in contrast to state transitions only.
|
String |
toString() |
protected Long entity
protected Long id
protected WebhookIdentity identity
protected Long linkedSpaceId
protected String name
protected Boolean notifyEveryChange
protected OffsetDateTime plannedPurgeDate
protected CreationEntityState state
protected WebhookUrl url
protected Integer version
public Long getEntity()
public List<String> getEntityStates()
public Long getId()
public WebhookIdentity getIdentity()
public Long getLinkedSpaceId()
public String getName()
public Boolean isNotifyEveryChange()
public OffsetDateTime getPlannedPurgeDate()
public CreationEntityState getState()
public WebhookUrl getUrl()
public Integer getVersion()
Copyright © 2021. All rights reserved.