void (CheckinEnvironment checkinEnvironment) { if (myCheckinEnvironment != null) throw new IllegalStateException("Attempt to redefine checkin environment"); myCheckinEnvironment = checkinEnvironment; }