public interface InterfaceParametersProvider
@Deprecated Map<String,String> getInterfaceParameters()
String getUrl()
String getLogin()
String getPassword()
boolean isDummyMode()
Locale getLocale()
String getInstitutionCode()
Integer getBatchSize()
int readIntegerParameter(String paramKey, int defaultValue)
List<String> readStringListParameter(String paramKey, List<String> defaultValue)
long readLongParameter(String paramKey, long defaultValue)
boolean getBooleanParameter(String paramKey, boolean defaultValue)
default String getOrganizationCode()
default Long getOrganizationId()
default boolean isFileProvidedForBatch()
default void storeIntegerParameter(String paramKey, int value)
default Date readLastSuccessfullExecutionDateForCurrentBatch(boolean considerSchedule)
considerSchedule
- if set to true, the date of last execution will only consider the current schedule. Recommandation: set to true if you do not know what to put.default String getCurrentOperator()
default Long getCurrentInterfaceId()
default Long getCurrentExecutionId()
default Long getCurrentScheduleId()
default TimeZone getOrganizationTimeZone()
default Date readExecutionDateForCurrentBatch()
Copyright © 2020. All rights reserved.