public class AbstractWebhookListenerUpdate extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
entityStates |
protected String |
name |
protected Boolean |
notifyEveryChange |
protected CreationEntityState |
state |
| Constructor and Description |
|---|
AbstractWebhookListenerUpdate() |
| Modifier and Type | Method and Description |
|---|---|
AbstractWebhookListenerUpdate |
addEntityStatesItem(String entityStatesItem) |
AbstractWebhookListenerUpdate |
entityStates(List<String> entityStates) |
boolean |
equals(Object o) |
List<String> |
getEntityStates()
The target state identifies the state into which entities need to move into to trigger the webhook listener.
|
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.
|
CreationEntityState |
getState() |
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.
|
AbstractWebhookListenerUpdate |
name(String name) |
AbstractWebhookListenerUpdate |
notifyEveryChange(Boolean notifyEveryChange) |
void |
setEntityStates(List<String> entityStates) |
void |
setName(String name) |
void |
setNotifyEveryChange(Boolean notifyEveryChange) |
void |
setState(CreationEntityState state) |
AbstractWebhookListenerUpdate |
state(CreationEntityState state) |
String |
toString() |
protected String name
protected Boolean notifyEveryChange
protected CreationEntityState state
public AbstractWebhookListenerUpdate entityStates(List<String> entityStates)
public AbstractWebhookListenerUpdate addEntityStatesItem(String entityStatesItem)
public List<String> getEntityStates()
public AbstractWebhookListenerUpdate name(String name)
public String getName()
public void setName(String name)
public AbstractWebhookListenerUpdate notifyEveryChange(Boolean notifyEveryChange)
public Boolean isNotifyEveryChange()
public void setNotifyEveryChange(Boolean notifyEveryChange)
public AbstractWebhookListenerUpdate state(CreationEntityState state)
public CreationEntityState getState()
public void setState(CreationEntityState state)
Copyright © 2022. All rights reserved.