Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.runtime.scheduling
Class Repetition

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.PersistableValue
          extended by oracle.odi.domain.runtime.scheduling.Repetition

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public final class Repetition
extends oracle.odi.domain.support.PersistableValue

Repetition is a value object representing repetition of a scheduled job. A repetition is defined by a maximum number of repetition which has to be a positive integer with 0 (zero) meaning no limit (the job execution may be repeated indefinitely), a maximum cycle duration indicating the maximum duration of the job repetition (can be null meaning no limit for cycle), and an interval of time to wait between each job run (can be null meaning no wait).

Since:
11.1.1.6.0
See Also:
Period, OdiSchedule, Serialized Form

Constructor Summary
Repetition(int pMaxNumberOfRepetition, Period pMaxCycleDuration, Period pRepetitionInterval)
          Constructs Repetition with specified maximum number of repetition, time interval between runs, maximum cycle duration.

 

Method Summary
 Period getMaxCycleDuration()
          Returns the maximum cycle duration.
 int getMaxNumberOfRepetition()
          Returns the maximum number of repetition.
 Period getRepetitionInterval()
          Returns time interval between runs.

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Repetition

public Repetition(int pMaxNumberOfRepetition,
                  Period pMaxCycleDuration,
                  Period pRepetitionInterval)
Constructs Repetition with specified maximum number of repetition, time interval between runs, maximum cycle duration.
Parameters:
pMaxNumberOfRepetition - maximum number of repetition
pMaxCycleDuration - maximum cycle duration
pRepetitionInterval - time between runs
Throws:
DomainRuntimeException - if specified number of repetition is negative integer

Method Detail

getMaxNumberOfRepetition

public int getMaxNumberOfRepetition()
Returns the maximum number of repetition.
Returns:
maximum number of repetition

getMaxCycleDuration

public Period getMaxCycleDuration()
Returns the maximum cycle duration.
Returns:
maximum cycle duration

getRepetitionInterval

public Period getRepetitionInterval()
Returns time interval between runs.
Returns:
time between runs

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.