org.specrunner.context
Interface IModel<T>

Type Parameters:
T - Output object type.
All Known Implementing Classes:
LazyExpressionModel

public interface IModel<T>

Something that returns and sets a object.

Author:
Thiago Santos

Method Summary
 T getObject(IContext context)
          Return the object.
 

Method Detail

getObject

T getObject(IContext context)
            throws SpecRunnerException
Return the object.

Parameters:
context - The context.
Returns:
The object model.
Throws:
SpecRunnerException - On model evaluation errors.


Copyright © 2014. All rights reserved.