class PurgeEntitiesReason implements ShutdownReason {

    public static PurgeEntitiesReason of(final List<EntityId> entityIdsToPurge) {
        final List<String> stringEntityIdsToPurge = argumentNotEmpty(entityIdsToPurge, "entities to purge")
                .stream()
                .map(String::valueOf)
                .collect(Collectors.toList());

        return new PurgeEntitiesReason(stringEntityIdsToPurge);
    }

    private  PurgeEntitiesReason(final List<String> entityIdsToPurge);

}