Class SocketProbe

  • All Implemented Interfaces:
    com.intershop.gradle.icm.utils.Probe

    
    public final class SocketProbe
    extends AbstractProbe
                        

    Probes a TCP endpoint until a socket connection can be established.

    Takes the Logger and the ProgressLoggerFactory of the owning task instead of its Project, so that executing this probe never touches the build model - see AbstractProbe.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SocketProbe.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketProbe(Logger logger, ProgressLoggerFactory progressLoggerFactory, String hostName, Integer port)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String toString()
      • Methods inherited from class com.intershop.gradle.icm.utils.AbstractProbe

        execute, getRetryInterval, getRetryTimeout, onFailure, onSuccess, setRetryInterval, setRetryTimeout, withRetryInterval, withRetryTimeout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SocketProbe

        SocketProbe(Logger logger, ProgressLoggerFactory progressLoggerFactory, String hostName, Integer port)