public interface ActionProvider
Action for a given subject. Objects that the ActionProvider can handle are not restricted to a particular class and can be whatever the
ActionProvider is able to handle. Action,
ActionRegistry| Modifier and Type | Method and Description |
|---|---|
<T> Action |
getAction(T subject) |
String |
getId() |
<T> Action getAction(T subject)
subject - object for which the ActionProvider is requested to provide an ActionAction object. If no action can be taken on the input, then null
shall be returnedString getId()
ActionProvider
providesThis work is licensed under a Creative Commons Attribution 4.0 International License.