protected PackageConfigData loadPackageConfig(PackageItem packageItem) { PackageConfigData data = PackageConfigDataFactory.createPackageConfigDataWithDependencies(packageItem); if (data.isSnapshot()) { data.setSnapshotName(packageItem.getSnapshotName()); } return data; }
protected PackageConfigData loadGlobalPackage() { PackageItem item = rulesRepository.loadGlobalArea(); PackageConfigData data = PackageConfigDataFactory.createPackageConfigDataWithOutDependencies(item); if (data.isSnapshot()) { data.setSnapshotName(item.getSnapshotName()); } return data; }