|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.generation.support.OdiScenarioGeneratorImpl
public final class OdiScenarioGeneratorImpl
Default IOdiScenarioGenerator
implementation.
Constructor Summary | |
---|---|
OdiScenarioGeneratorImpl(OdiInstance pOdiInstance) Construct an IOdiScenarioGenerator for generating a scenario. |
Method Summary | |
---|---|
OdiScenario[] |
generateAllScenarios(IOdiScenarioSourceContainer pScenarioSourceContainer, GenerationOptions pScenGenerationDetails) Generates and persists all the scenarii for the scenario sources present in the given scenario source container. |
OdiScenario |
generateScenario(IOdiScenarioSource pSourceObject, java.lang.String pScenarioName, java.lang.String pScenarioVersion) Generates and persists in repository a scenario from a given scenario source object. |
void |
regenerateLatestScenario(java.lang.String pScenarioName) Regenerates the latest version of a scenario from its name |
void |
regenerateScenario(OdiScenario pSourceScenario) Regenerates a given scenario. |
void |
regenerateScenario(Tag pSourceScenarioTag) Regenerates a given scenario from its tag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdiScenarioGeneratorImpl(OdiInstance pOdiInstance)
IOdiScenarioGenerator
for generating a scenario.
pOdiInstance
- OdiInstance to be used.Method Detail |
---|
public OdiScenario[] generateAllScenarios(IOdiScenarioSourceContainer pScenarioSourceContainer, GenerationOptions pScenGenerationDetails) throws OdiScenarioGeneratorException
IOdiScenarioGenerator
This method will execute in the surrounding transaction and all pending persisted changes will be flushed.
generateAllScenarios
in interface IOdiScenarioGenerator
pScenarioSourceContainer
- the given scenario source container.pScenGenerationDetails
- details about the generation.OdiScenarioGeneratorException
public OdiScenario generateScenario(IOdiScenarioSource pSourceObject, java.lang.String pScenarioName, java.lang.String pScenarioVersion) throws OdiScenarioGeneratorException
IOdiScenarioGenerator
This method will execute in the surrounding transaction and all pending persisted changes will be flushed.
generateScenario
in interface IOdiScenarioGenerator
pSourceObject
- The object on which the scenario will be based.pScenarioName
- The name of the scenario.pScenarioVersion
- The version of the scenario.OdiScenarioGeneratorException
- for errors in the scenario generation including if pScenarioName contains invalid java characters or is longer than 400 chraracters.public void regenerateScenario(Tag pSourceScenarioTag) throws OdiScenarioGeneratorException
IOdiScenarioGenerator
This method will execute in the surrounding transaction and all pending persisted changes will be flushed.
regenerateScenario
in interface IOdiScenarioGenerator
pSourceScenarioTag
- tag identifying the scenario to regenerate.OdiScenarioGeneratorException
OdiScenarioNotFoundException
- in case no scenario have been found from given tagpublic void regenerateLatestScenario(java.lang.String pScenarioName) throws OdiScenarioGeneratorException
IOdiScenarioGenerator
This method will execute in the surrounding transaction and all pending persisted changes will be flushed.
regenerateLatestScenario
in interface IOdiScenarioGenerator
pScenarioName
- name of the scenarioOdiScenarioGeneratorException
OdiScenarioNotFoundException
- in case no scenario is found from the given namepublic void regenerateScenario(OdiScenario pSourceScenario) throws OdiScenarioGeneratorException
IOdiScenarioGenerator
This method will execute in the surrounding transaction and all pending persisted changes will be flushed.
regenerateScenario
in interface IOdiScenarioGenerator
pSourceScenario
- the scenario to regenerate.OdiScenarioGeneratorException
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |