org.netbeans.modules.j2ee.metadata/0 1.19

org.netbeans.modules.j2ee.metadata.model.api
Interface MetadataModelAction<T,R>


public interface MetadataModelAction<T,R>

Represents action executed against the model.

Since:
1.2

Method Summary
 R run(T metadata)
          Invoked in the context of the model.
 

Method Detail

run

R run(T metadata)
      throws Exception
Invoked in the context of the model.

Parameters:
metadata - the model's metadata.
Returns:
any value. It will be returned by MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction).
Throws:
Exception - any Exception, which will be rethrown by MetadataModel.runReadAction(org.netbeans.modules.j2ee.metadata.model.api.MetadataModelAction).

org.netbeans.modules.j2ee.metadata/0 1.19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.