CE-781 Move backend type (name) up to public static final constant

This commit is contained in:
2024-01-10 19:59:11 -06:00
parent 8d668d12ec
commit 4b1bdebe44
2 changed files with 4 additions and 2 deletions

View File

@ -51,6 +51,7 @@ public class FilesystemBackendModule implements QBackendModuleInterface, Filesys
{
private static final QLogger LOG = QLogger.getLogger(FilesystemBackendModule.class);
public static final String BACKEND_TYPE = "filesystem";
/*******************************************************************************
@ -71,7 +72,7 @@ public class FilesystemBackendModule implements QBackendModuleInterface, Filesys
@Override
public String getBackendType()
{
return ("filesystem");
return (BACKEND_TYPE);
}

View File

@ -46,6 +46,7 @@ import com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata.S3TableBack
*******************************************************************************/
public class S3BackendModule implements QBackendModuleInterface, FilesystemBackendModuleInterface
{
public static final String BACKEND_TYPE = "s3";
/*******************************************************************************
@ -66,7 +67,7 @@ public class S3BackendModule implements QBackendModuleInterface, FilesystemBacke
@Override
public String getBackendType()
{
return ("s3");
return (BACKEND_TYPE);
}