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()
A unique identifier for the object.
|
WebhookIdentity |
getIdentity()
The identity which will be used to sign messages sent by this listener.
|
Long |
getLinkedSpaceId()
The ID of the space this object 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 date and time when the object is planned to be permanently removed.
|
CreationEntityState |
getState()
The object's current state.
|
WebhookUrl |
getUrl()
The URL which is invoked by the listener to notify the application about the event.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
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 © 2023. All rights reserved.