org.specrunner.plugins.core.objects
Interface IObjectCreator


public interface IObjectCreator

Based on object type creates an instance of it, using another row information or not.

Author:
Thiago Santos

Method Summary
 Object create(Class<?> type, RowAdapter row)
          Creates a instance of the given type.
 

Method Detail

create

Object create(Class<?> type,
              RowAdapter row)
              throws Exception
Creates a instance of the given type.

Parameters:
type - The object type.
row - The row with all informations.
Returns:
A new object instance, or null.
Throws:
Exception - On object creation error.


Copyright © 2014. All rights reserved.