ConnectorAggregation

public abstract class ConnectorAggregation implements Parcelable


EV charging connector aggregation contains connectors of the same type and same charge rate.

Summary

Nested types

public abstract class ConnectorAggregation.Builder

Builder for ConnectorAggregation

Public constructors

Public methods

static ConnectorAggregation.Builder
builder(EVConnectorType type, Double maxChargeRateKw, Integer count)

Returns a Builder for ConnectorAggregation.

abstract @Nullable Instant

Returns the timestamp when the connector availability information in this aggregation was last updated.

abstract @Nullable Integer

Returns the number of connectors in this aggregation that are currently available.

abstract Integer

Returns the number of connectors in this aggregation.

abstract Double

Returns the static max charging rate in kw of each connector in the aggregation.

abstract @Nullable Integer

Returns the number of connectors in this aggregation that are currently out of service.

abstract EVConnectorType

Returns the connector type of this aggregation.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

ConnectorAggregation

public ConnectorAggregation()

Public methods

builder

public static ConnectorAggregation.Builder builder(EVConnectorType type, Double maxChargeRateKw, Integer count)

Returns a Builder for ConnectorAggregation.

Parameters
EVConnectorType type

The connector type of this aggregation

Double maxChargeRateKw

The static max charging rate in kw of each connector in the aggregation

Integer count

The number of connectors in this aggregation

getAvailabilityLastUpdateTime

public abstract @Nullable Instant getAvailabilityLastUpdateTime()

Returns the timestamp when the connector availability information in this aggregation was last updated.

getAvailableCount

public abstract @Nullable Integer getAvailableCount()

Returns the number of connectors in this aggregation that are currently available.

getCount

public abstract Integer getCount()

Returns the number of connectors in this aggregation.

getMaxChargeRateKw

public abstract Double getMaxChargeRateKw()

Returns the static max charging rate in kw of each connector in the aggregation.

getOutOfServiceCount

public abstract @Nullable Integer getOutOfServiceCount()

Returns the number of connectors in this aggregation that are currently out of service.

getType

public abstract EVConnectorType getType()

Returns the connector type of this aggregation.