/
SegmentsAsahCompanyConfiguration.java
40 lines (33 loc) · 1.22 KB
/
SegmentsAsahCompanyConfiguration.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
35
36
37
38
39
40
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.segments.asah.connector.internal.configuration;
import aQute.bnd.annotation.metatype.Meta;
import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
/**
* @author David Arques
*/
@ExtendedObjectClassDefinition(
category = "segments", scope = ExtendedObjectClassDefinition.Scope.COMPANY
)
@Meta.OCD(
id = "com.liferay.segments.asah.connector.internal.configuration.SegmentsAsahCompanyConfiguration",
localization = "content/Language",
name = "segments-asah-connector-company-configuration-name"
)
public interface SegmentsAsahCompanyConfiguration {
@Meta.AD(
deflt = "86400",
description = "anonymous-user-segments-cache-expiration-time-description",
name = "anonymous-user-segments-cache-expiration-time-name",
required = false
)
public int anonymousUserSegmentsCacheExpirationTime();
@Meta.AD(
deflt = "86400",
description = "interest-terms-cache-expiration-time-description",
name = "interest-terms-cache-expiration-time-name", required = false
)
public int interestTermsCacheExpirationTime();
}