public enum LogbookCollections extends Enum<LogbookCollections>
Enum Constant and Description |
---|
LIFECYCLE_OBJECTGROUP
LifeCycle object group Collection
|
LIFECYCLE_OBJECTGROUP_IN_PROCESS
LifeCycle object group in process
|
LIFECYCLE_UNIT
LifeCycle unit Collection
|
LIFECYCLE_UNIT_IN_PROCESS
LifeCycle unit in process
|
OPERATION
Operation Collection
|
Modifier and Type | Method and Description |
---|---|
static void |
afterTest(Collection<LogbookCollections> logbookCollections,
Integer... tenants) |
static void |
afterTest(Integer... tenants) |
static void |
afterTestClass(boolean deleteEsIndex,
Integer... tenants) |
static void |
afterTestClass(Collection<LogbookCollections> logbookCollections,
boolean deleteEsIndex,
Integer... tenants) |
static void |
beforeTestClass(com.mongodb.client.MongoDatabase db,
String prefix,
LogbookElasticsearchAccess esClient,
Collection<LogbookCollections> logbookCollections,
Integer... tenants) |
static void |
beforeTestClass(com.mongodb.client.MongoDatabase db,
String prefix,
LogbookElasticsearchAccess esClient,
Integer... tenants) |
static List<Class<?>> |
getClasses() |
Class<?> |
getClasz() |
com.mongodb.client.MongoCollection |
getCollection() |
LogbookElasticsearchAccess |
getEsClient() |
String |
getName() |
VitamCollection |
getVitamCollection() |
VitamDescriptionResolver |
getVitamDescriptionResolver() |
protected void |
initialize(LogbookElasticsearchAccess esClient)
Initialize the collection
|
protected void |
initialize(com.mongodb.client.MongoDatabase db,
boolean recreate)
Initialize the collection
|
static LogbookCollections |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogbookCollections[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogbookCollections OPERATION
public static final LogbookCollections LIFECYCLE_UNIT
public static final LogbookCollections LIFECYCLE_OBJECTGROUP
public static final LogbookCollections LIFECYCLE_UNIT_IN_PROCESS
public static final LogbookCollections LIFECYCLE_OBJECTGROUP_IN_PROCESS
public static final String ID
public static LogbookCollections[] values()
for (LogbookCollections c : LogbookCollections.values()) System.out.println(c);
public static LogbookCollections valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void beforeTestClass(com.mongodb.client.MongoDatabase db, String prefix, LogbookElasticsearchAccess esClient, Integer... tenants)
public static void beforeTestClass(com.mongodb.client.MongoDatabase db, String prefix, LogbookElasticsearchAccess esClient, Collection<LogbookCollections> logbookCollections, Integer... tenants)
public static void afterTestClass(boolean deleteEsIndex, Integer... tenants)
public static void afterTestClass(Collection<LogbookCollections> logbookCollections, boolean deleteEsIndex, Integer... tenants)
public static void afterTest(Integer... tenants)
public static void afterTest(Collection<LogbookCollections> logbookCollections, Integer... tenants)
protected void initialize(com.mongodb.client.MongoDatabase db, boolean recreate)
db
- the mongo databaserecreate
- if needs to be recreatedprotected void initialize(LogbookElasticsearchAccess esClient)
esClient
- the ElasticsearchAccesspublic String getName()
public com.mongodb.client.MongoCollection getCollection()
public VitamCollection getVitamCollection()
public Class<?> getClasz()
public LogbookElasticsearchAccess getEsClient()
public VitamDescriptionResolver getVitamDescriptionResolver()
Copyright © 2019 Vitam. All rights reserved.