-
Notifications
You must be signed in to change notification settings - Fork 11
/
RandomContentConfig.java
34 lines (29 loc) · 1.1 KB
/
RandomContentConfig.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.lucidworks.connectors.plugins.random.config;
import com.lucidworks.connectors.components.generator.config.RandomContentProperties;
import com.lucidworks.connectors.plugins.random.config.RandomContentConfig.Properties;
import com.lucidworks.fusion.connector.plugin.api.config.ConnectorConfig;
import com.lucidworks.fusion.connector.plugin.api.config.ConnectorPluginProperties;
import com.lucidworks.fusion.schema.SchemaAnnotations.Property;
import com.lucidworks.fusion.schema.SchemaAnnotations.RootSchema;
@RootSchema(
title = "Random Content Generator (v2)",
description = "A connector that generates random documents.",
category = "Generator"
)
public interface RandomContentConfig extends ConnectorConfig<Properties> {
@Property(
title = "Properties",
required = true
)
Properties properties();
/**
* Connector specific settings
*/
interface Properties extends ConnectorPluginProperties {
@Property(
title = "Random Content properties",
description = "Random Content properties"
)
RandomContentProperties getRandomContentProperties();
}
}