public interface MetadataModelAction<T,R>
Modifier and Type | Method and Description |
---|---|
R |
run(T metadata)
Invoked in the context of the model.
|
R run(T metadata) throws Exception
metadata
- the model's metadata.MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction<T, R>)
.Exception
- any Exception
, which will be rethrown
by MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction<T, R>)
.