當前位置: 首頁>>代碼示例>>Java>>正文


Java Version類代碼示例

本文整理匯總了Java中org.graylog2.plugin.Version的典型用法代碼示例。如果您正苦於以下問題:Java Version類的具體用法?Java Version怎麽用?Java Version使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


Version類屬於org.graylog2.plugin包,在下文中一共展示了Version類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
/*
 * @see org.graylog2.plugin.PluginMetaData#getVersion()
 */
public Version getVersion() {
    return new Version(1, 0, 7);
}
 
開發者ID:magicdude4eva,項目名稱:graylog-jira-alarmcallback,代碼行數:8,代碼來源:JiraPluginMetadata.java

示例2: buildNodeInfo

import org.graylog2.plugin.Version; //導入依賴的package包/類
private NodeInfo buildNodeInfo() {
    return NodeInfo.create(
            NodeRole.fromCapabilities(serverStatus),
            Version.CURRENT_CLASSPATH.toString(),
            buildPluginInfo(plugins),
            buildOsInfo(),
            installationSource
    );
}
 
開發者ID:Graylog2,項目名稱:graylog-plugin-anonymous-usage-statistics,代碼行數:10,代碼來源:NodeCollector.java

示例3: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(0, 0, 2, "unknown"));
}
 
開發者ID:alcampos,項目名稱:graylog-plugin-alert-condition-delorean,代碼行數:5,代碼來源:DeloreanAlertConditionMetaData.java

示例4: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(2, 3, 0));
}
 
開發者ID:alcampos,項目名稱:graylog-plugin-alert-condition-delorean,代碼行數:5,代碼來源:DeloreanAlertConditionMetaData.java

示例5: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(0, 0, 0, "unknown"));
}
 
開發者ID:sherzberg,項目名稱:graylog-plugin-s3,代碼行數:5,代碼來源:S3InputPluginMetaData.java

示例6: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(0, 0, 0, "unknown"));
}
 
開發者ID:sherzberg,項目名稱:graylog-plugin-s3,代碼行數:5,代碼來源:S3InputPluginMetaData.java

示例7: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
	return Version.from(2, 1, 1);
}
 
開發者ID:rswestmoreland,項目名稱:graylog-delimited-file-output-plugin,代碼行數:5,代碼來源:DelimitedFileOutputMetaData.java

示例8: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
	return new Version(0, 1, 0);
}
 
開發者ID:rswestmoreland,項目名稱:graylog-delimited-file-output-plugin,代碼行數:5,代碼來源:DelimitedFileOutputMetaData.java

示例9: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(1, 0, 0, "unknown"));
}
 
開發者ID:billmurrin,項目名稱:graylog-plugin-slookup-function,代碼行數:5,代碼來源:StreamLookupFunctionMetaData.java

示例10: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(2, 1, 3));
}
 
開發者ID:billmurrin,項目名稱:graylog-plugin-slookup-function,代碼行數:5,代碼來源:StreamLookupFunctionMetaData.java

示例11: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(0, 0, 1, "unknown"));
}
 
開發者ID:alcampos,項目名稱:graylog-plugin-alert-conditional-count,代碼行數:5,代碼來源:ConditionalCountAlertConditionMetaData.java

示例12: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(2, 0, 0));
}
 
開發者ID:alcampos,項目名稱:graylog-plugin-function-csv,代碼行數:5,代碼來源:CsvFunctionMetaData.java

示例13: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(1, 0, 0));
}
 
開發者ID:condevtec,項目名稱:graylog-plugin-nsq,代碼行數:5,代碼來源:NsqMetaData.java

示例14: getRequiredVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getRequiredVersion() {
    return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(2, 2, 0));
}
 
開發者ID:condevtec,項目名稱:graylog-plugin-nsq,代碼行數:5,代碼來源:NsqMetaData.java

示例15: getVersion

import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
    return new Version(1, 0, 0);
}
 
開發者ID:nksft,項目名稱:graylog2-plugin-exec,代碼行數:5,代碼來源:ExeCommandAlarmCallBackMetaData.java


注:本文中的org.graylog2.plugin.Version類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。