Skip to content

Commit

Permalink
Merge pull request matsim-org#2975 from moia-oss/chargingInfrastructu…
Browse files Browse the repository at this point in the history
…reSpecificationAccess

Add static factory method for ChargingInfrastructureSpecificationDefaultImpl
  • Loading branch information
nkuehnel authored Dec 1, 2023
2 parents e998c8a + 82a5503 commit 7526437
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public class ChargingInfrastructureUtils{

private ChargingInfrastructureUtils(){} // do not instantiate

public static ChargingInfrastructureSpecification createChargingInfrastructureSpecification() {
return new ChargingInfrastructureSpecificationDefaultImpl();
}

public static ChargingInfrastructure createChargingInfrastructure(
ChargingInfrastructureSpecification infrastructureSpecification, Function<Id<Link>, Link> linkProvider,
ChargingLogic.Factory chargingLogicFactory) {
Expand Down

0 comments on commit 7526437

Please sign in to comment.