@Test public void ensureWorkDir_childWithCreateExists() throws Exception { File dir = underTest.getWorkDirectory("child", true); assertThat(dir, notNullValue()); assertThat(dir, FileMatchers.exists()); }
@Override public File getWorkDirectory() { return workDir; }
ApplicationDirectoriesImpl extends ComponentSupport implements ApplicationDirectories { @Override public File getWorkDirectory() { return workDir; } }
ApplicationDirectoriesImpl extends ComponentSupport implements ApplicationDirectories { @Override public File getWorkDirectory() { return workDir; } @Inject  ApplicationDirectoriesImpl(@Named("${karaf.base}") final File installDir,
                                    @Named("${karaf.data}") final File workDir); }
ApplicationDirectoriesImpl extends ComponentSupport implements ApplicationDirectories { @Override public File getWorkDirectory() { return workDir; } @Inject  ApplicationDirectoriesImpl(@Named("${karaf.base}") final File installDir,
                                    @Named("${karaf.data}") final File workDir); @Override File getInstallDirectory(); @Override File getConfigDirectory(final String subsystem); @Override File getTemporaryDirectory(); @Override File getWorkDirectory(); @Override File getWorkDirectory(final String path, final boolean create); @Override File getWorkDirectory(final String path); }
ApplicationDirectoriesImpl extends ComponentSupport implements ApplicationDirectories { @Override public File getWorkDirectory() { return workDir; } @Inject  ApplicationDirectoriesImpl(@Named("${karaf.base}") final File installDir,
                                    @Named("${karaf.data}") final File workDir); @Override File getInstallDirectory(); @Override File getConfigDirectory(final String subsystem); @Override File getTemporaryDirectory(); @Override File getWorkDirectory(); @Override File getWorkDirectory(final String path, final boolean create); @Override File getWorkDirectory(final String path);  }