All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.sm360.cronitor.client.urlgenerators.FailCommandUrlGenerator Maven / Gradle / Ivy

Go to download

cronitor-client is a simple Java library designed to help you monitoring, with www.cronitor.io, the routines of your Java projects

There is a newer version: 1.0.1
Show newest version
package ca.sm360.cronitor.client.urlgenerators;

import ca.sm360.cronitor.client.Command;
import org.apache.http.client.utils.URIBuilder;

import java.net.URISyntaxException;

public class FailCommandUrlGenerator extends CommandWithMessageUrlGenerator {

    @Override
    protected URIBuilder generateURIBuilderIgnoringMessage(String baseURL) throws URISyntaxException {
        baseURL += "/" + Command.FAIL.getValue();
        return new URIBuilder(baseURL);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy