|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StateChange | |
|---|---|
| org.powertac.common | |
| org.powertac.common.msg | |
| Uses of StateChange in org.powertac.common |
|---|
| Methods in org.powertac.common with annotations of type StateChange | |
|---|---|
Orderbook |
Orderbook.addAsk(OrderbookOrder ask)
|
Orderbook |
Orderbook.addBid(OrderbookOrder bid)
|
Competition |
Competition.addBroker(String brokerUsername)
Adds a broker to the Competition. |
PluginConfig |
PluginConfig.addConfiguration(String name,
String value)
Adds a config item to this PluginConfig. |
Competition |
Competition.addCustomer(CustomerInfo customer)
Adds a customer to the Competition. |
boolean |
Rate.addHourlyCharge(HourlyCharge newCharge,
boolean publish)
Allows initial publication of HourlyCharge instances within the notification interval. |
boolean |
Tariff.addHourlyCharge(HourlyCharge newCharge,
long rateId)
Adds a new HourlyCharge to its Rate. |
Broker |
Broker.addMarketPosition(MarketPosition posn,
Timeslot slot)
Associates a MarketPosition with a given Timeslot. |
void |
Tariff.addPeriodicPayment()
Adds periodic payments to the total cost, so realized price includes it. |
CustomerInfo |
CustomerInfo.addPowerType(PowerType type)
Fluent setter to add PowerType flags to this CustomerInfo. |
TariffSpecification |
TariffSpecification.addRate(Rate rate)
Adds a new Rate to this tariff. |
TariffSpecification |
TariffSpecification.addSupersedes(long specId)
Indicates that this tariff supersedes the tariff specified by the specId, the id of the superseded tariff. |
PluginConfig |
PluginConfig.asPrivileged()
|
double |
CashPosition.deposit(double amount)
Updates the balance in this account by the specified amount, returns the resulting balance. |
void |
Timeslot.disable()
|
void |
Timeslot.enable()
|
void |
Broker.setCash(CashPosition thing)
Updates the current CashPosition for this Broker. |
protected void |
TimeService.setCurrentTime(org.joda.time.base.AbstractDateTime time)
Sets current time to a specific value. |
void |
TimeService.setCurrentTime(org.joda.time.Instant time)
Sets current time to a specific value. |
void |
Tariff.setExpiration(org.joda.time.Instant newDate)
|
protected void |
Broker.setLocal(boolean value)
Allows subclasses to set themselves as local brokers. |
void |
CustomerInfo.setPopulation(Integer population)
Updates the population for the underlying model. |
void |
Tariff.setState(Tariff.State newState)
Updates the state of this tariff. |
protected void |
Broker.setWholesale(boolean value)
Allows subclasses to make themselves wholesale brokers |
double |
MarketPosition.updateBalance(double mWh)
Adds a quantity to the current balance. |
Competition |
Competition.withBootstrapTimeslotCount(int bootstrapTimeslotCount)
Fluent setter for the bootstrap timeslot count. |
CustomerInfo |
CustomerInfo.withCanNegotiate(boolean value)
Fluent setter for the canNegotiate flag. |
CustomerInfo |
CustomerInfo.withCustomerType(CustomerType type)
Fluent setter for customer classification. |
Rate |
Rate.withDailyBegin(int begin)
Sets the time of day when this Rate comes into effect as hours since midnight. |
Rate |
Rate.withDailyEnd(int end)
Sets the time of day when this Rate is no longer in effect, given as hours since midnight. |
Competition |
Competition.withDeactivateTimeslotsAhead(int deactivateTimeslotsAhead)
Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.Default value is 1. |
Competition |
Competition.withDescription(String description)
Fluent setter for competition description. |
TariffSpecification |
TariffSpecification.withEarlyWithdrawPayment(double earlyWithdrawPayment)
Sets the payment for a customer who withdraws from a subscription to this tariff before the minimumDuration has expired. |
Rate |
Rate.withExpectedMean(double value)
Specifies the expected mean charge/kWh, excluding periodic charges, for this Rate. |
Competition |
Competition.withExpectedTimeslotCount(int expectedTimeslotCount)
Fluent setter for the expected length of a normal sim session. |
TariffSpecification |
TariffSpecification.withExpiration(org.joda.time.Instant expiration)
Sets the expiration date for this tariff. |
Rate |
Rate.withFixed(boolean fixed)
Specifies whether this Rate is fixed (true) or variable (false). |
Rate |
Rate.withMaxValue(double maxValue)
Specifies the maximum charge (furthest from zero) for variable Rates. |
TariffSpecification |
TariffSpecification.withMinDuration(long minDuration)
Sets the minimum duration of a subscription for this tariff. |
Competition |
Competition.withMinimumTimeslotCount(int minimumTimeslotCount)
Fluent setter for minimumTimeslotCount. |
Rate |
Rate.withMinValue(double minValue)
Specifies the minimum charge (closest to zero) for variable Rates. |
CustomerInfo |
CustomerInfo.withMultiContracting(boolean value)
Fluent setter for the multiContracting property. |
Rate |
Rate.withNoticeInterval(long hours)
Specifies the minimum interval in hours for rate change notifications for a variable Rate. |
TariffSpecification |
TariffSpecification.withPeriodicPayment(double periodicPayment)
Sets the daily payment per customer for subscriptions to this tariff. |
TariffSpecification |
TariffSpecification.withSignupPayment(double signupPayment)
Sets the signup payment for new subscriptions. |
Competition |
Competition.withSimulationBaseTime(org.joda.time.Instant simulationBaseTime)
Fluent setter for simiulation base time. |
Competition |
Competition.withSimulationModulo(long simulationModulo)
Fluent setter for simulation modulo. |
Competition |
Competition.withSimulationRate(long simulationRate)
Fluent setter for time compression ratio. |
Rate |
Rate.withTierThreshold(double tierThreshold)
Sets the usage threshold for applicability of this Rate. |
Competition |
Competition.withTimeslotLength(int timeslotLength)
Fluent setter for timeslot length, interpreted as minutes in sim time. |
Competition |
Competition.withTimeslotsOpen(int timeslotsOpen)
Fluent setter for the open timeslot count. |
Rate |
Rate.withValue(double value)
Specifies the charge/kWh for a fixed rate, from the customer's viewpoint. |
Rate |
Rate.withWeeklyBegin(int begin)
Sets the day of the week on which this Rate comes into effect. |
Rate |
Rate.withWeeklyEnd(int end)
Sets the weekly end of applicability for this Rate. |
| Uses of StateChange in org.powertac.common.msg |
|---|
| Methods in org.powertac.common.msg with annotations of type StateChange | |
|---|---|
TariffStatus |
TariffStatus.withMessage(String message)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||