5 changed files with 22 additions and 6 deletions
@ -0,0 +1,21 @@ |
|||||||
|
/* © SRSoftware 2024 */ |
||||||
|
package de.srsoftware.cal.api; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
/** |
||||||
|
* Instances of this class can be used to read Appointments from various sources |
||||||
|
*/ |
||||||
|
public interface Importer { |
||||||
|
/** |
||||||
|
* Text descripbing this importer |
||||||
|
* @return informational text |
||||||
|
*/ |
||||||
|
String description(); |
||||||
|
|
||||||
|
/** |
||||||
|
* get the list of appointments from the source associated with this importer |
||||||
|
* @return a list of appointments |
||||||
|
*/ |
||||||
|
List<Appointment> fetch(); |
||||||
|
} |
Loading…
Reference in new issue