|
@@ -31,7 +31,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
/** The key of the configuration. e.g. http://localhost:9201 */
|
|
|
String ELASTICSEARCH_HTTP_URL = "elasticsearch.http.url";
|
|
|
|
|
|
- /** The key of the configuration. e.g. true */
|
|
|
+ /** The key of the configuration. e.g. false */
|
|
|
String ELASTICSEARCH_TRANSPORT_SNIFF = "elasticsearch.transport.sniff";
|
|
|
|
|
|
/** The key of the configuration. e.g. 1m */
|
|
@@ -687,6 +687,27 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
/** The key of the configuration. e.g. true */
|
|
|
String THUMBNAIL_HTML_PHANTOMJS_ENABLED = "thumbnail.html.phantomjs.enabled";
|
|
|
|
|
|
+ /** The key of the configuration. e.g. 20000 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_MAX_HEIGHT = "thumbnail.html.phantomjs.max.height";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. 600000 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_KEEP_ALIVE = "thumbnail.html.phantomjs.keep.alive";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. 1200 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_WINDOW_WIDTH = "thumbnail.html.phantomjs.window.width";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. 800 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_WINDOW_HEIGHT = "thumbnail.html.phantomjs.window.height";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. 160 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_WIDTH = "thumbnail.html.phantomjs.thumbnail.width";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. 160 */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_HEIGHT = "thumbnail.html.phantomjs.thumbnail.height";
|
|
|
+
|
|
|
+ /** The key of the configuration. e.g. png */
|
|
|
+ String THUMBNAIL_HTML_PHANTOMJS_FORMAT = "thumbnail.html.phantomjs.format";
|
|
|
+
|
|
|
/** The key of the configuration. e.g. all */
|
|
|
String THUMBNAIL_GENERATOR_TARGETS = "thumbnail.generator.targets";
|
|
|
|
|
@@ -1142,14 +1163,14 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
|
|
|
/**
|
|
|
* Get the value for the key 'elasticsearch.transport.sniff'. <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
+ * The value is, e.g. false <br>
|
|
|
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
*/
|
|
|
String getElasticsearchTransportSniff();
|
|
|
|
|
|
/**
|
|
|
* Is the property for the key 'elasticsearch.transport.sniff' true? <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
+ * The value is, e.g. false <br>
|
|
|
* @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
*/
|
|
|
boolean isElasticsearchTransportSniff();
|
|
@@ -3345,6 +3366,103 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
*/
|
|
|
boolean isThumbnailHtmlPhantomjsEnabled();
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.max.height'. <br>
|
|
|
+ * The value is, e.g. 20000 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsMaxHeight();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.max.height' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 20000 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsMaxHeightAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.keep.alive'. <br>
|
|
|
+ * The value is, e.g. 600000 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsKeepAlive();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.keep.alive' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 600000 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsKeepAliveAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.window.width'. <br>
|
|
|
+ * The value is, e.g. 1200 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsWindowWidth();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.window.width' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 1200 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsWindowWidthAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.window.height'. <br>
|
|
|
+ * The value is, e.g. 800 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsWindowHeight();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.window.height' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 800 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsWindowHeightAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.thumbnail.width'. <br>
|
|
|
+ * The value is, e.g. 160 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsThumbnailWidth();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.thumbnail.width' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 160 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsThumbnailWidthAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.thumbnail.height'. <br>
|
|
|
+ * The value is, e.g. 160 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsThumbnailHeight();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.thumbnail.height' as {@link Integer}. <br>
|
|
|
+ * The value is, e.g. 160 <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ * @throws NumberFormatException When the property is not integer.
|
|
|
+ */
|
|
|
+ Integer getThumbnailHtmlPhantomjsThumbnailHeightAsInteger();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get the value for the key 'thumbnail.html.phantomjs.format'. <br>
|
|
|
+ * The value is, e.g. png <br>
|
|
|
+ * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
+ */
|
|
|
+ String getThumbnailHtmlPhantomjsFormat();
|
|
|
+
|
|
|
/**
|
|
|
* Get the value for the key 'thumbnail.generator.targets'. <br>
|
|
|
* The value is, e.g. all <br>
|
|
@@ -5702,6 +5820,58 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
return is(FessConfig.THUMBNAIL_HTML_PHANTOMJS_ENABLED);
|
|
|
}
|
|
|
|
|
|
+ public String getThumbnailHtmlPhantomjsMaxHeight() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_MAX_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsMaxHeightAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_MAX_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsKeepAlive() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_KEEP_ALIVE);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsKeepAliveAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_KEEP_ALIVE);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsWindowWidth() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_WINDOW_WIDTH);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsWindowWidthAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_WINDOW_WIDTH);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsWindowHeight() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_WINDOW_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsWindowHeightAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_WINDOW_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsThumbnailWidth() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_WIDTH);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsThumbnailWidthAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_WIDTH);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsThumbnailHeight() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getThumbnailHtmlPhantomjsThumbnailHeightAsInteger() {
|
|
|
+ return getAsInteger(FessConfig.THUMBNAIL_HTML_PHANTOMJS_THUMBNAIL_HEIGHT);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnailHtmlPhantomjsFormat() {
|
|
|
+ return get(FessConfig.THUMBNAIL_HTML_PHANTOMJS_FORMAT);
|
|
|
+ }
|
|
|
+
|
|
|
public String getThumbnailGeneratorTargets() {
|
|
|
return get(FessConfig.THUMBNAIL_GENERATOR_TARGETS);
|
|
|
}
|