com.belladati.sdk.dataset.source.ImportInterval Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-api Show documentation
Show all versions of sdk-api Show documentation
The BellaDati SDK allows accessing a BellaDati server from 3rd-party applications using Java. This project contains the SDK's interface definitions.
package com.belladati.sdk.dataset.source;
/**
* The interval at which a {@link DataSourceImport} is executed.
*
* @author Chris Hennigfeld
*/
public interface ImportInterval {
/**
* Returns the time unit at which this interval repeats. Repeat time is
* calculated as {@link #getUnit()} * {@link #getFactor()}.
*
* @return the time unit at which this interval repeats
*/
ImportIntervalUnit getUnit();
/**
* Returns the multiple of time units at which this interval repeats. Repeat
* time is calculated as {@link #getUnit()} * {@link #getFactor()}.
*
* @return the multiple of time units at which this interval repeats
*/
int getFactor();
/**
* Returns the number of minutes between subsequent executions.
*
* @return the number of minutes between subsequent executions
*/
int getMinutes();
}