arez.annotations.Executor Maven / Gradle / Ivy
package arez.annotations;
import arez.Observer;
import arez.Procedure;
/**
* Enum describing the executor responsible for executing the {@link arez.Observer}'s observe method.
*/
public enum Executor
{
/**
* Arez is responsible for invoking the observed method.
*/
INTERNAL,
/**
* The application is responsible for invoking the observed method via the {@link arez.ArezContext#observe(Observer, arez.Function, Object...)} or {@link arez.ArezContext#observe(Observer, Procedure, Object...)} methods.
*/
EXTERNAL
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy