@Override
public StorageTree getObject() throws Exception {
if (null == rundeckFramework) {
throw new FactoryBeanNotInitializedException("'rundeckFramework' is required");
}
if (null == pluginRegistry) {
throw new FactoryBeanNotInitializedException("'pluginRegistry' is required");
}
if (null == storagePluginProviderService) {
throw new FactoryBeanNotInitializedException("'storagePluginProviderService' is required");
}
if (null == storageConverterPluginProviderService) {
throw new FactoryBeanNotInitializedException("'storageConverterPluginProviderService' is required");
}
if (null == storageConfigPrefix) {
throw new FactoryBeanNotInitializedException("'storageConfigPrefix' is required");
}
if (null == converterConfigPrefix) {
throw new FactoryBeanNotInitializedException("'converterConfigPrefix' is required");
}
if (null == baseStorageType) {
throw new FactoryBeanNotInitializedException("'baseStorageType' is required");
}
return StorageUtil.asStorageTree(buildTree(configuration));
}