mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
CE-781 Move backend type (name) up to public static final constant
This commit is contained in:
@ -51,6 +51,7 @@ public class FilesystemBackendModule implements QBackendModuleInterface, Filesys
|
|||||||
{
|
{
|
||||||
private static final QLogger LOG = QLogger.getLogger(FilesystemBackendModule.class);
|
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
|
@Override
|
||||||
public String getBackendType()
|
public String getBackendType()
|
||||||
{
|
{
|
||||||
return ("filesystem");
|
return (BACKEND_TYPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ import com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata.S3TableBack
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
public class S3BackendModule implements QBackendModuleInterface, FilesystemBackendModuleInterface
|
public class S3BackendModule implements QBackendModuleInterface, FilesystemBackendModuleInterface
|
||||||
{
|
{
|
||||||
|
public static final String BACKEND_TYPE = "s3";
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
@ -66,7 +67,7 @@ public class S3BackendModule implements QBackendModuleInterface, FilesystemBacke
|
|||||||
@Override
|
@Override
|
||||||
public String getBackendType()
|
public String getBackendType()
|
||||||
{
|
{
|
||||||
return ("s3");
|
return (BACKEND_TYPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user