public interface ParameterizedRunnable
Runnable
, an object which captures a block of code which can
be passed around and executed. Unlike standard runnables, paramaterized
runnables allow an arbitrary Object
to be passed in when the
block is evaluated.
Clients may implement this interface.
This class is for internal use by the platform-related plug-ins. Clients outside of the base platform should not reference or subclass this class.
Object run(Object context) throws Exception
null
.context
- the context for evaluating the runnableException
- if there is a problem running this runnableCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.