ConnectorAggregationKt

public final class ConnectorAggregationKt


Summary

Public methods

static final @NonNull ConnectorAggregation
connectorAggregation(
    @NonNull EVConnectorType type,
    double maxChargeRateKw,
    int count,
    @ExtensionFunctionType Function1<@NonNull ConnectorAggregation.BuilderUnit> actions
)

Builds a new ConnectorAggregation.

Public methods

connectorAggregation

public static final @NonNull ConnectorAggregation connectorAggregation(
    @NonNull EVConnectorType type,
    double maxChargeRateKw,
    int count,
    @ExtensionFunctionType Function1<@NonNull ConnectorAggregation.BuilderUnit> actions
)

Builds a new ConnectorAggregation.

Parameters
@NonNull EVConnectorType type

the connector type of this aggregation

double maxChargeRateKw

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

int count

the number of connectors in this aggregation

@ExtensionFunctionType Function1<@NonNull ConnectorAggregation.BuilderUnit> actions

the actions to apply to the ConnectorAggregation.Builder