@Test void getStorageWithoutProperty() { assertEquals(new File(this.permDir, "jobs/status/").getAbsoluteFile(), this.configuration.getStorage().getAbsoluteFile()); }
@Override public File getStorage() { if (this.store == null) { String localRepositoryPath = this.configuration.get().getProperty("job.statusFolder"); if (localRepositoryPath == null) { this.store = new File(getHome(), "status/"); } else { this.store = new File(localRepositoryPath); } } return this.store; }
DefaultJobManagerConfiguration implements JobManagerConfiguration { @Override public File getStorage() { if (this.store == null) { String localRepositoryPath = this.configuration.get().getProperty("job.statusFolder"); if (localRepositoryPath == null) { this.store = new File(getHome(), "status/"); } else { this.store = new File(localRepositoryPath); } } return this.store; } }
DefaultJobManagerConfiguration implements JobManagerConfiguration { @Override public File getStorage() { if (this.store == null) { String localRepositoryPath = this.configuration.get().getProperty("job.statusFolder"); if (localRepositoryPath == null) { this.store = new File(getHome(), "status/"); } else { this.store = new File(localRepositoryPath); } } return this.store; }  }
DefaultJobManagerConfiguration implements JobManagerConfiguration { @Override public File getStorage() { if (this.store == null) { String localRepositoryPath = this.configuration.get().getProperty("job.statusFolder"); if (localRepositoryPath == null) { this.store = new File(getHome(), "status/"); } else { this.store = new File(localRepositoryPath); } } return this.store; }  @Override File getStorage(); @Override int getJobStatusCacheSize(); @Override int getGroupedJobInitializerCacheSize(); @Override long getSingleJobThreadKeepAliveTime(); @Override long getGroupedJobThreadKeepAliveTime(); }
DefaultJobManagerConfiguration implements JobManagerConfiguration { @Override public File getStorage() { if (this.store == null) { String localRepositoryPath = this.configuration.get().getProperty("job.statusFolder"); if (localRepositoryPath == null) { this.store = new File(getHome(), "status/"); } else { this.store = new File(localRepositoryPath); } } return this.store; }  @Override File getStorage(); @Override int getJobStatusCacheSize(); @Override int getGroupedJobInitializerCacheSize(); @Override long getSingleJobThreadKeepAliveTime(); @Override long getGroupedJobThreadKeepAliveTime();  }