Package com.squareup.pagerduty.incidents

Examples of com.squareup.pagerduty.incidents.Trigger


                .build());
        NotifyResult result = null;

        try {
            if (check.getState() == AlertType.ERROR) {
                Trigger trigger = new Trigger.Builder("Check '" + check.getName() + "' has exceeded its threshold.")
                        .withIncidentKey(incidentKey(check))
                        .client("Seyren")
                        .clientUrl(url(check))
                        .addDetails(details(check, alerts))
                        .build();
View Full Code Here

TOP

Related Classes of com.squareup.pagerduty.incidents.Trigger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.