package org.graylog.alarmcallbacks.rundeck;

import org.graylog2.plugin.PluginMetaData;
import org.graylog2.plugin.ServerStatus;
import org.graylog2.plugin.Version;

import java.net.URI;
import java.util.Collections;
import java.util.Set;

public class RundeckAlarmCallbackMetadata implements PluginMetaData {
    @Override
    public String getUniqueId() {
        return RundeckAlarmCallback.class.getCanonicalName();
    }

    @Override
    public String getName() {
        return "Rundeck Alarmcallback Plugin";
    }

    @Override
    public String getAuthor() {
        return "Graylog, Inc.";
    }

    @Override
    public URI getURL() {
        return URI.create("https://www.graylog.org");
    }

    @Override
    public Version getVersion() {
        return new Version(1, 1, 1);
    }

    @Override
    public String getDescription() {
        return "Alarm callback plugin that triggers a Rundeck job on stream alert.";
    }

    @Override
    public Version getRequiredVersion() {
        return new Version(1, 0, 1);
    }

    @Override
    public Set<ServerStatus.Capability> getRequiredCapabilities() {
        return Collections.emptySet();
    }
}

@@ -785,17 +785,17 @@
 n(1, 1, 
-1
+2
 );%0A    %7D

Bump version in metadata