class CustomTaskFactory implements DefinitionFactory<CustomTask> {

    @Override
    public boolean accepts(final String identifier) {
        return identifier.startsWith(PREFIX);
    }

    protected  CustomTaskFactory();
    @Inject public  CustomTaskFactory(final Instance<WorkItemDefinitionRegistry> registry);
    public  CustomTaskFactory(final Supplier<WorkItemDefinitionRegistry> registry);

}