|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.runtime.loadplan.OdiLoadPlanValidator
public class OdiLoadPlanValidator
Validator for OdiLoadPlan.
Typical usage:
// obtain validator OdiLoadPlanValidator service = new OdiLoadPlanValidator(getOdiInstance().getTransactionalEntityManager()); // [optional] you could set IOdiVariableTextGenerator impl for more accurate validating service.setVariableTextGenerator(OdiVariableTextGeneratorFactory.getFactory().getVariableTextGenerator(getOdiInstance())); // check loadplan List<ValidationRecord> validateReport = service.validateLoadPlan(lpFromDb);
OdiLoadPlanTestCase
Constructor Summary | |
---|---|
OdiLoadPlanValidator(IOdiEntityManager odiEntityManager) Create new loadplan validator. |
Method Summary | |
---|---|
IOdiVariableTextGenerator |
getVariableTextGenerator() |
void |
setVariableTextGenerator(IOdiVariableTextGenerator variableTextGenerator) |
java.util.List<ValidationRecord> |
validateLoadPlan(OdiLoadPlan loadPlan) Check passed load plan against follow rules: |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdiLoadPlanValidator(IOdiEntityManager odiEntityManager)
odiEntityManager
- must be not-null.DomainRuntimeException
- if odiEntityManager is null.Method Detail |
---|
public IOdiVariableTextGenerator getVariableTextGenerator()
public void setVariableTextGenerator(IOdiVariableTextGenerator variableTextGenerator)
variableTextGenerator
- the variableTextGenerator to setpublic java.util.List<ValidationRecord> validateLoadPlan(OdiLoadPlan loadPlan)
Check passed load plan against follow rules:
Errors:
loadPlan
- plan to check
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |