@Test public void testLoad() { final DefaultEditorContent content = service.loadContent(pomPath); assertNotNull(content); assertEquals(this.content, content); }
@Override public DefaultEditorContent loadContent(final Path path) { return defaultEditorService.loadContent(path); }
PomEditorServiceImpl implements PomEditorService { @Override public DefaultEditorContent loadContent(final Path path) { return defaultEditorService.loadContent(path); } }
PomEditorServiceImpl implements PomEditorService { @Override public DefaultEditorContent loadContent(final Path path) { return defaultEditorService.loadContent(path); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); }
PomEditorServiceImpl implements PomEditorService { @Override public DefaultEditorContent loadContent(final Path path) { return defaultEditorService.loadContent(path); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); @PostConstruct void init(); @Override DefaultEditorContent loadContent(final Path path); @Override Path save(final Path pomPath,
                     final String pomXml,
                     final Metadata metadata,
                     final String comment,
                     final DeploymentMode mode); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final String content,
                              final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path save(final Path path,
                     final String content,
                     final Metadata metadata,
                     final String comment); }
PomEditorServiceImpl implements PomEditorService { @Override public DefaultEditorContent loadContent(final Path path) { return defaultEditorService.loadContent(path); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); @PostConstruct void init(); @Override DefaultEditorContent loadContent(final Path path); @Override Path save(final Path pomPath,
                     final String pomXml,
                     final Metadata metadata,
                     final String comment,
                     final DeploymentMode mode); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final String content,
                              final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path save(final Path path,
                     final String content,
                     final Metadata metadata,
                     final String comment);  }