Package org.apache.juneau.objecttools
Interface ObjectTool<T>
- Type Parameters:
T
- The argument object type.
- All Known Implementing Classes:
ObjectPaginator
,ObjectSearcher
,ObjectSorter
,ObjectViewer
public interface ObjectTool<T>
Interface for classes that convert POJOs in some way using some predefined arguments object.
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionrun
(BeanSession session, Object input, T args) Converts the specified input to some other output.
-
Method Details
-
run
Converts the specified input to some other output.- Parameters:
session
- The current bean session.input
- The input POJO.args
- The arguments.- Returns:
- The output POJO.
-