| java.lang.Object com.metaboss.sdlctools.frameworks.generation.internal.Generator
Generator | public class Generator (Code) | | Generator of developer's service simulator utilising XML files
|
Method Summary | |
public static long | doCopying(String pDestinationDirectory, GenerationPlan pGenerationPlan) | public static long | doGenerationForElement(String pDestinationDirectory, ModelElement pModelElement, GenerationPlan pGenerationPlan, Map pTemplateContext) Performs generation steps for the given element only as specified in the given generation plan
Parameters: pDestinationDirectory - - root directory to generate files to Parameters: pModelElement - - the element to use. | public static long | doGenerationForElementTree(String pDestinationDirectory, ModelElement pModelElement, GenerationPlan pGenerationPlan, Map pTemplateContext) Performs generation steps for the given element and all contained elements only as specified in the given generation plan
Parameters: pDestinationDirectory - - root directory to generate files to Parameters: pModelElement - - the root element of the tree to use in generation. |
doCopying | public static long doCopying(String pDestinationDirectory, GenerationPlan pGenerationPlan) throws BSException(Code) | | Performs copying steps as specified in supplied generation plan
Parameters: pDestinationDirectory - - root directory to copy files to Parameters: pGenerationPlan - generation plan to use Number of copied files |
doGenerationForElement | public static long doGenerationForElement(String pDestinationDirectory, ModelElement pModelElement, GenerationPlan pGenerationPlan, Map pTemplateContext) throws BSException(Code) | | Performs generation steps for the given element only as specified in the given generation plan
Parameters: pDestinationDirectory - - root directory to generate files to Parameters: pModelElement - - the element to use. Note that nothing could be generated if no match for the element found in the plan Parameters: pGenerationPlan - generation plan to use Parameters: pTemplateContext - context to pass to every generation template Number of generated files |
doGenerationForElementTree | public static long doGenerationForElementTree(String pDestinationDirectory, ModelElement pModelElement, GenerationPlan pGenerationPlan, Map pTemplateContext) throws BSException(Code) | | Performs generation steps for the given element and all contained elements only as specified in the given generation plan
Parameters: pDestinationDirectory - - root directory to generate files to Parameters: pModelElement - - the root element of the tree to use in generation. Note that nothing could be generated if no match for any of the elements in the tree has been found in the plan Parameters: pGenerationPlan - generation plan to use Parameters: pTemplateContext - context to pass to every generation template Number of generated files |
|
|