Interface INewMappingListener<M>
- Type Parameters:
M
- the datatype of the mappings object
public interface INewMappingListener<M>
Listener for the creation of new mapping in a
TreeMapper
. To be used when the
list of mapping specified to TreeMapper.setInput(Object, Object, java.util.List)
is not intended to be used as a reference to the concrete list of mappings.- Since:
- 0.1.0
-
Method Summary
Modifier and Type Method Description void
mappingCreated(M mapping)
Notify that the user just added a new mapping.
-
Method Details
-
mappingCreated
Notify that the user just added a new mapping.- Parameters:
mapping
- the newly created mapping.
-