code: public void registerServiceWithScript(final int port,
                                            final String script,
                                            final long interval,
                                            final String serviceName,
                                            final String serviceId,
                                            final String... tags) {
          registerServiceWithScript(null, port, script, interval, serviceName, serviceId, tags);
      }
docs: Registers the client as a service with Consul.
  Registration enables
  the use of check with a script.
  
  @param port        The public facing port of the service to register with Consul.
  @param script      Health script for Consul to use.
  @param interval    Health script run interval in seconds.
  @param serviceName Service name to register.
  @param serviceId   Service id to register.
  @param tags        Tags to register with.