private RegisterEntry(int port, String hostname, String module, String context, Date time, String uuid, String target, String ignoreDate, Health health, List<Map<String, Map<String, String>>> stats, int externalPort) { this.port = port; this.hostname = hostname; this.module = module; this.context = context; this.time = time; this.uuid = uuid; this.target = target; this.health = health; this.stats = stats; this.externalPort = externalPort; if (time != null) { this.formattedDate = f.format(this.time); } else { this.formattedDate = null; } this.manifest.putAll(ManifestLoader.instance.getManifest()); }
private RegisterEntry(int port, String hostname, String module, String context, Date time, String uuid, String target, String ignoreDate, Health health, List<Map<String, Map<String, String>>> stats, int externalPort) { this.port = port; this.hostname = hostname; this.module = module; this.context = context; this.time = time; this.uuid = uuid; this.target = target; this.health = health; this.stats = stats; this.externalPort = externalPort; if (time != null) { this.formattedDate = f.format(this.time); } else { this.formattedDate = null; } this.manifest.putAll(ManifestLoader.instance.getManifest()); }