| | |
| | | import com.gitblit.models.TicketModel; |
| | | import com.gitblit.models.TicketModel.Attachment; |
| | | import com.gitblit.models.TicketModel.Change; |
| | | import com.google.inject.Inject; |
| | | import com.google.inject.Singleton; |
| | | |
| | | /** |
| | | * Implementation of a ticket service that rejects everything. |
| | |
| | | * @author James Moger |
| | | * |
| | | */ |
| | | @Singleton |
| | | public class NullTicketService extends ITicketService { |
| | | |
| | | @Inject |
| | | public NullTicketService( |
| | | IRuntimeManager runtimeManager, |
| | | IPluginManager pluginManager, |
| | |
| | | |
| | | @Override |
| | | public NullTicketService start() { |
| | | log.info("{} started", getClass().getSimpleName()); |
| | | return this; |
| | | } |
| | | |