|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.generation.GenerationManager
public class GenerationManager
GenerationManager is a Singleton which provides access to all the Generation operations. Note that this is after the caching of Generation results.
Field Summary | |
---|---|
static java.lang.String |
HTTP_REQUEST
|
static java.lang.String |
MODEL_INSTANCE_CREATOR
|
Method Summary | |
---|---|
static GenContainer |
generate(GenerationSource sourceModel,
ProfileData profileData,
boolean isDesignTime)
Generate with the default phases, {"Construction", "PostConstruction", "Validation"} |
static GenContainer |
generate(GenerationSource sourceModel,
ProfileData profileData,
boolean isDesignTime,
GenContainer genContainer,
com.bowstreet.generation.implementation.ProfileDataManager profileDataManager)
Generate with the default phases, {"Construction", "PostConstruction", "Validation"} This version is used for runtime generation of new models |
static GenContainer |
generate(GenerationSource sourceModel,
ProfileData profileData,
boolean isDesignTime,
GenContainer genContainer,
java.lang.String[] phaseArray)
Generate with the phases you pass in. |
static GenContainer |
generate(GenerationSource sourceModel,
ProfileData profileData,
java.util.List precedeList,
java.util.List followList)
Generate with the default phases, adding extra BuilderCalls |
static boolean |
isGenerationActive()
Is generation currently happening on this thread or one of its ancestors? |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HTTP_REQUEST
public static final java.lang.String MODEL_INSTANCE_CREATOR
Method Detail |
---|
public static GenContainer generate(GenerationSource sourceModel, ProfileData profileData, boolean isDesignTime)
sourceModel
- The Model to GenerateprofileData
- Profile Data to use for this GenerationisDesignTime
- true if Builders should perform extra debugging and error checking tasks
public static GenContainer generate(GenerationSource sourceModel, ProfileData profileData, boolean isDesignTime, GenContainer genContainer, com.bowstreet.generation.implementation.ProfileDataManager profileDataManager)
sourceModel
- The Model to GenerateprofileData
- Profile Data to use for this GenerationisDesignTime
- true if Builders should perform extra debugging and error checking tasksgenContainer
- Use to pass in a pre-constructed genContainer. Can be null.profileDataManager
- Must be a valid ProfileDataManager
public static GenContainer generate(GenerationSource sourceModel, ProfileData profileData, boolean isDesignTime, GenContainer genContainer, java.lang.String[] phaseArray)
sourceModel
- The Model to GenerateprofileData
- Profile Data to use for this GenerationisDesignTime
- true if Builders should perform extra debugging and error checking tasksgenContainer
- Use to pass in a pre-constructed genContainer. Can be null.phaseArray
- Array of strings for the phases to call. "Construction" will be prepended if not first.
public static GenContainer generate(GenerationSource sourceModel, ProfileData profileData, java.util.List precedeList, java.util.List followList)
sourceModel
- The Model to GenerateprofileData
- Profile Data to use for this GenerationprecedeList
- A List of extra BuilderCallsfollowList
-
public static boolean isGenerationActive()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |