You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
3 years ago
|
/*
|
||
|
* Copyright (C), 2015-2019
|
||
|
* FileName: Constants
|
||
|
* Author: Louis
|
||
|
* Date: 2019/9/4 16:09
|
||
|
* Description: Constants
|
||
|
* History:
|
||
|
* <author> <time> <version> <desc>
|
||
|
*/
|
||
|
package com.fr.plugin.icak;
|
||
|
|
||
|
import com.fanruan.api.design.DesignKit;
|
||
|
|
||
|
/**
|
||
|
* 〈Function Description〉<br>
|
||
|
* 〈Constants〉
|
||
|
*
|
||
|
* @author Louis
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
public class Constants {
|
||
|
public static final String ICON_PATH = "/com/fr/plugin/icak/images/logo16.png";
|
||
|
public static final String ICON_HELP = "/com/fr/plugin/icak/images/help.png";
|
||
|
public static final String ICON_PREVIEW = "/com/fr/design/images/m_file/preview.png";
|
||
|
public static final String ICON_REFRESH = "/com/fr/design/images/control/refresh.png";
|
||
|
public static final String HELP_URL = "https://help.finereport.com/index.php?search-fulltext-title-elasticsearch";
|
||
|
public static final String[] SEARCH_OPTIONS = new String[]{
|
||
|
DesignKit.i18nText("Plugin-Elasticsearch_Search_Query"),
|
||
|
DesignKit.i18nText("Plugin-Elasticsearch_Search_Aggregation")
|
||
|
};
|
||
|
public static final String URL_SEPARATOR = ",";
|
||
|
|
||
|
public static final int DEFAULT_DB_INDEX = 0;
|
||
|
public static final String[] DEFAULT_COLUMN_NAMES = new String[]{"text", "value"};
|
||
|
public static final String DATABASE = "database";
|
||
|
public static final String QUERY = "query";
|
||
|
public static final String SCRIPT = "script";
|
||
|
public static final String ORDER = "orderValue";
|
||
|
public static final String ENGINE = "engineType";
|
||
|
public static final String PARAMETERS = "parameters";
|
||
|
}
|