Class WarningListenerImpl
java.lang.Object
org.opentrafficsim.road.network.factory.osm.events.WarningListenerImpl
- All Implemented Interfaces:
Serializable,EventListener,WarningListener
public class WarningListenerImpl extends Object implements WarningListener, Serializable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version 20.03.2015
- Author:
- Moritz Bergmann
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WarningListenerImpl() -
Method Summary
Modifier and Type Method Description StringgetCurrentWarning()StringgetWarningLog()StringtoString()voidwarning(WarningEvent warningEvent)Process one WarningEvent.
-
Constructor Details
-
WarningListenerImpl
public WarningListenerImpl()
-
-
Method Details
-
warning
Process one WarningEvent.- Specified by:
warningin interfaceWarningListener- Parameters:
warningEvent- WarningEvent; the warning event
-
getCurrentWarning
- Returns:
- Current Warning as String.
-
getWarningLog
- Returns:
- WarningLog as String.
-
toString
-