protected TicketDefinition buildTicketDefinition ( final TicketCatalog plan , final String prefix , final Class impl ) { if ( plan . contains ( prefix ) ) { return plan . find ( prefix ) ; } return new DefaultTicketDefinition ( impl , prefix , Ordered . LOWEST_PRECEDENCE ) ; }
Build ticket definition ticket .