Class TestResourceAwareFSAFactory
java.lang.Object
com.regnosys.rosetta.generator.resourcefsa.TestResourceAwareFSAFactory
- All Implemented Interfaces:
ResourceAwareFSAFactory
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterGenerate(org.eclipse.emf.ecore.resource.Resource resource) voidbeforeGenerate(org.eclipse.emf.ecore.resource.Resource resource) org.eclipse.xtext.generator.IFileSystemAccess2resourceAwareFSA(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, boolean wholeProject)
-
Constructor Details
-
TestResourceAwareFSAFactory
public TestResourceAwareFSAFactory()
-
-
Method Details
-
resourceAwareFSA
public org.eclipse.xtext.generator.IFileSystemAccess2 resourceAwareFSA(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, boolean wholeProject) - Specified by:
resourceAwareFSAin interfaceResourceAwareFSAFactory- Parameters:
resource- The resource changing that caused this FSA to be invokedfsa- -the Xtext supplied FSA to potentially delegate towholeProject- - Whether the generators are being called with the whole model rather than a single resource (i.e. in after generate)- Returns:
-
afterGenerate
public void afterGenerate(org.eclipse.emf.ecore.resource.Resource resource) - Specified by:
afterGeneratein interfaceResourceAwareFSAFactory
-
beforeGenerate
public void beforeGenerate(org.eclipse.emf.ecore.resource.Resource resource) - Specified by:
beforeGeneratein interfaceResourceAwareFSAFactory
-