|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.runtime.startup.StartupParametersBuilder
public class StartupParametersBuilder
Helper class for creating StartupParameters
.
Useful because creating an StartupParameters
depends on the target OdiScenario
and its OdiScenarioVariable
s. Note that this class allows parameters creation against scenario's variables as well as without those variables. In the latest case, no check will be done.
Constructor Summary | |
---|---|
StartupParametersBuilder() Construct a new StartupParametersBuilder with no assertion. |
|
StartupParametersBuilder(OdiScenario pScenario) Construct a new StartupParametersBuilder with assertion based on the given scenario. |
Method Summary | |
---|---|
StartupParametersBuilder |
setDate(java.lang.String pName, java.util.Date pValue) Add a new Date parameter for given name. |
StartupParametersBuilder |
setLong(java.lang.String pName, java.lang.Long pValue) Add a new Long parameter for given name. |
StartupParametersBuilder |
setString(java.lang.String pName, java.lang.String pValue) Add a new String parameter for given name. |
StartupParameters |
toStartupParameters() Conversion method that takes the current state of this builder and returns it as a StartupParameters instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartupParametersBuilder()
StartupParametersBuilder
with no assertion.public StartupParametersBuilder(OdiScenario pScenario)
StartupParametersBuilder
with assertion based on the given scenario.pScenario
- the scenarioMethod Detail |
---|
public StartupParametersBuilder setString(java.lang.String pName, java.lang.String pValue)
String
parameter for given name.pName
- parameter namepValue
- runtime valuepublic StartupParametersBuilder setLong(java.lang.String pName, java.lang.Long pValue)
Long
parameter for given name.pName
- parameter namepValue
- runtime valuepublic StartupParametersBuilder setDate(java.lang.String pName, java.util.Date pValue)
Date
parameter for given name.pName
- parameter namepValue
- runtime valuepublic StartupParameters toStartupParameters()
StartupParameters
instance.StartupParameters
object
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |