Package com.seyren.core.domain

Examples of com.seyren.core.domain.Subscription


                .withEnabled(true)
                .withName("test-check")
                .withWarn(new BigDecimal("2.0"))
                .withError(new BigDecimal("3.0"))
                .withState(AlertType.ERROR);
        Subscription subscription = new Subscription()
                .withEnabled(true)
                .withType(SubscriptionType.EMAIL)
                .withTarget("some@email.com");
        Alert alert = new Alert()
                .withTarget("some.value")
View Full Code Here


        Check check = new Check()
                .withId("123")
                .withEnabled(true)
                .withName("test-check")
                .withState(AlertType.ERROR);
        Subscription subscription = new Subscription()
                .withEnabled(true)
                .withType(SubscriptionType.FLOWDOCK)
                .withTarget("target");
        Alert alert = new Alert()
                .withValue(value)
View Full Code Here

        Check check = new Check()
                .withId("123")
                .withEnabled(true)
                .withName("test-check")
                .withState(AlertType.ERROR);
        Subscription subscription = new Subscription()
                .withEnabled(true)
                .withType(SubscriptionType.SLACK)
                .withTarget("target");
        Alert alert = new Alert()
                .withValue(value)
View Full Code Here

        Check check = new Check()
                .withEnabled(true)
                .withName("check-name")
                .withState(AlertType.ERROR);
       
        Subscription subscription = new Subscription()
                .withType(SubscriptionType.TWILIO)
                .withTarget("+10987654321");
       
        Alert alert = new Alert()
                .withTarget("the.target.name")
View Full Code Here

                .withTarget("statsd.metric.name")
                .withState(AlertType.ERROR)
                .withWarn(BigDecimal.ONE)
                .withError(BigDecimal.TEN);
       
        Subscription subscription = new Subscription()
                .withType(SubscriptionType.HTTP)
                .withTarget(clientDriver.getBaseUrl() + "/myendpoint/thatdoesstuff");
       
        Alert alert = new Alert()
                .withTarget("the.target.name")
View Full Code Here

TOP

Related Classes of com.seyren.core.domain.Subscription

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.