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

io.github.laskowski.shell.output.service.DefaultServiceReadyStrategy Maven / Gradle / Ivy

Go to download

Library to launch .bat and .sh scripts of your choice with different configurations. Allows you to read tasks and services output from terminal

The newest version!
package io.github.laskowski.shell.output.service;

import java.time.Duration;

public class DefaultServiceReadyStrategy implements ServiceReadyStrategy {

    @Override
    public Duration getTimeout() {
        return Duration.ofSeconds(5);
    }

    @Override
    public String getTimeoutMessage() {
        return "";
    }

    @Override
    public ServiceReadyPredicate getReadyPredicate() {
        return message -> true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy