public Groundy service ( Class < ? extends GroundyService > groundyClass ) { if ( groundyClass == GroundyService . class ) { throw new IllegalStateException ( "This method is meant to set a different GroundyService implementation. " + "You cannot use GroundyService.class, http://i.imgur.com/IR23PAe.png" ) ; } checkAlreadyProcessed ( ) ; mGroundyClass = groundyClass ; return this ; }
This allows you to use a different GroundyService implementation .