org.springframework.plugin.core
Interface Plugin<S>
public interface Plugin<S>
Central interface for plugins for the system. This interface is meant to be extended by concrete plugin interfaces.
Its core responsibility is to define a delimiter type and a selection callback with the delimiter as parameter. The
delimiter is some kind of decision object concrete plugin implementations can use to decide if they are capable to be
executed.
- Author:
- Oliver Gierke
|
Method Summary |
boolean |
supports(S delimiter)
Returns if a plugin should be invoked according to the given delimiter. |
supports
boolean supports(S delimiter)
- Returns if a plugin should be invoked according to the given delimiter.
- Parameters:
delimiter -
- Returns:
- if the plugin should be invoked
Copyright © 2008–2014 Pivotal, Inc.. All rights reserved.