Package org.powertac.common
Interface ValidatableMessage
- All Known Implementing Classes:
BalancingControlEvent,BalancingOrder,ControlEvent,EconomicControlEvent,TariffExpire,TariffMessage,TariffRevoke,TariffSpecification,TariffStatus,TariffUpdate,VariableRateUpdate
public interface ValidatableMessage
Classes of this type may implement the isValid() method to perform
a local validation of the contents of a message. Messages sent by
brokers to the simulation server are expected to override this method
to check local constraints on field values.
- Author:
- John Collins
-
Method Summary
Modifier and Type Method Description booleanisValid()Implementation should return true just in case the message is internally valid.
-
Method Details
-
isValid
boolean isValid()Implementation should return true just in case the message is internally valid.
-