本文整理匯總了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);
}
示例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
);
}
示例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"));
}
示例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"));
}
示例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"));
}
示例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));
}
示例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));
}
示例13: getVersion
import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(1, 0, 0));
}
示例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));
}
示例15: getVersion
import org.graylog2.plugin.Version; //導入依賴的package包/類
@Override
public Version getVersion() {
return new Version(1, 0, 0);
}