Class ElasticsearchAccessAdminFactory
java.lang.Object
fr.gouv.vitam.functional.administration.common.server.ElasticsearchAccessAdminFactory
Factory to get ElasticsearchAccess for Admin
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ElasticsearchAccessFunctionalAdmin
create
(AdminManagementConfiguration configuration, ElasticsearchFunctionalAdminIndexManager indexManager) Creation of one ElasticsearchDbAcesscreate
(String clusterName, List<ElasticsearchNode> nodes, ElasticsearchFunctionalAdminIndexManager indexManager) Creation of one ElasticsearchDbAcess
-
Method Details
-
create
public static final ElasticsearchAccessFunctionalAdmin create(AdminManagementConfiguration configuration, ElasticsearchFunctionalAdminIndexManager indexManager) Creation of one ElasticsearchDbAcess- Parameters:
configuration
- config of ElasticsearchDbAcessindexManager
-- Returns:
- the ElasticsearchDbAcess
- Throws:
VitamException
- if elasticsearch list nodes is emptyIllegalArgumentException
- if argument is null
-
create
public static ElasticsearchAccessFunctionalAdmin create(String clusterName, List<ElasticsearchNode> nodes, ElasticsearchFunctionalAdminIndexManager indexManager) Creation of one ElasticsearchDbAcess- Parameters:
clusterName
- the cluster namenodes
- the node listindexManager
-- Returns:
- the ElasticsearchDbAcess
- Throws:
VitamException
- if elasticsearch list nodes is emptyIllegalArgumentException
- if argument is null
-