impl: ap factory
This commit is contained in:
@@ -20,27 +20,26 @@ import java.time.LocalTime;
|
|||||||
*/
|
*/
|
||||||
public class APFactory implements AbstractAPFactory {
|
public class APFactory implements AbstractAPFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a factory.
|
* Creates a factory.
|
||||||
*/
|
*/
|
||||||
public APFactory() {
|
public APFactory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LocalDayPlan createLocalDayPlan(LocalDay day, Instant start, Instant end) {
|
public LocalDayPlan createLocalDayPlan(LocalDay day, Instant start, Instant end) {
|
||||||
//TODO Return an instance of your class that implements LocalDayPlan
|
// TODO Return an instance of your class that implements LocalDayPlan
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AppointmentData createAppointmentData(String description, Duration duration) {
|
public AppointmentData createAppointmentData(String description, Duration duration) {
|
||||||
//TODO Return an instance of your class that implements AppointmentData
|
return new AppointmentDataImpl(duration, description);
|
||||||
return null;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AppointmentRequest createAppointmentRequest(AppointmentData appData, LocalTime prefStart, TimePreference fallBack) {
|
public AppointmentRequest createAppointmentRequest(AppointmentData appData, LocalTime prefStart,
|
||||||
//TODO Return an instance of your class that implements AppointmentRequest
|
TimePreference fallBack) {
|
||||||
return null;
|
return new AppointmentRequestImpl(appData, prefStart, fallBack);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user