Package org.powertac.common.msg
Class TariffExpire
java.lang.Object
org.powertac.common.state.XStreamStateLoggable
org.powertac.common.TariffMessage
org.powertac.common.msg.TariffUpdate
org.powertac.common.msg.TariffExpire
- All Implemented Interfaces:
ValidatableMessage
@Domain(fields={"broker","tariffId","newExpiration"}) public class TariffExpire extends TariffUpdate
Request to change expiration date on an existing tariff. There are no
constraints on the new expiration date, but dates in the past will not
have retroactive effect. Created by brokers.
State log fields for readResolve():
new(long brokerId, long tariffId, Instant expiration)
new(long brokerId, long tariffId, Instant expiration)
- Author:
- John Collins
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TariffExpire(Broker broker, TariffSpecification tariff, org.joda.time.Instant expiration) -
Method Summary
Modifier and Type Method Description org.joda.time.InstantgetNewExpiration()
-
Constructor Details
-
Method Details
-
getNewExpiration
public org.joda.time.Instant getNewExpiration()
-