# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Methods
- Deprecated Enum Constants

- Deprecated Interfaces
  Interface and Description
  madkit.agr.Organization as of MaDKit 5.2 replaced by `DefaultMaDKitRoles`

- Deprecated Methods
  Method and Description
  madkit.kernel.Scheduler.getGVT() as of MaDKit 5.3, replaced by `AbstractAgent.getSimulationTime()`
  madkit.kernel.Scheduler.getSimulationDuration() as of MDK 5.3, replaced by `AbstractAgent.getSimulationTime()` available methods
  madkit.kernel.AgentLogger.getWarningLogLevel() as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`
  madkit.kernel.Scheduler.setGVT(double) as of MaDKit 5.3, replaced by `AbstractAgent.getSimulationTime()`
  madkit.kernel.AbstractAgent.setLogLevel(Level) as of MaDKit 5.2, `AgentLogger.setLevel(Level)` should now be used through `AbstractAgent.getLogger()`
  madkit.kernel.Scheduler.setSimulationDuration(double) as of MDK 5.3, replaced by `AbstractAgent.getSimulationTime()` available methods
  madkit.kernel.AgentLogger.setWarningLogLevel(Level) as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`

- Deprecated Enum Constants
  Enum Constant and Description
  madkit.kernel.Madkit.LevelOption.warningLogLevel as of MaDKit 5.2, replaced by `AgentLogger.enableCGRWarnings()`

Fabien Michel, Olivier Gutknecht, Jacques Ferber - September 9 2019