Publishing (enum)

The available policies as to whether data should be published to corresponding subscribers. The framework supports several kinds of data that are available for publishing:

  • EntityChanges …​ subscribed to via EntityChangesSubscriber

     *
    * *_EntityPropertyChange_ ... subscribed to via xref:refguide:applib:index/services/publishing/spi/EntityPropertyChangeSubscriber.adoc[EntityPropertyChangeSubscriber]*
     *
    * *xref:refguide:applib:index/services/command/Command.adoc[Command] ... subscribed to via xref:refguide:applib:index/services/publishing/spi/CommandSubscriber.adoc[CommandSubscriber]*
     *
    * *xref:refguide:applib:index/services/iactn/Execution.adoc[Execution] ... subscribed to via xref:refguide:applib:index/services/publishing/spi/ExecutionSubscriber.adoc[ExecutionSubscriber]*
    • * * *

API

Publishing.java
enum Publishing {
  AS_CONFIGURED     (1)
  ENABLED     (2)
  DISABLED     (3)
  NOT_SPECIFIED     (4)
}
1 AS_CONFIGURED

Publishing of data triggered by interaction with this object should be handled as per the default publishing policy configured in application.properties .

2 ENABLED

Do publish data triggered by interaction with this object.

3 DISABLED

Do not publish data triggered by interaction with this object (even if otherwise configured to enable publishing).

4 NOT_SPECIFIED

Ignore the value provided by this annotation (meaning that the framework will keep searching, in meta annotations or super-classes/interfaces).

Members

AS_CONFIGURED

Publishing of data triggered by interaction with this object should be handled as per the default publishing policy configured in application.properties .

If no publishing policy is configured, then publishing is disabled.

ENABLED

Do publish data triggered by interaction with this object.

DISABLED

Do not publish data triggered by interaction with this object (even if otherwise configured to enable publishing).

NOT_SPECIFIED

Ignore the value provided by this annotation (meaning that the framework will keep searching, in meta annotations or super-classes/interfaces).