From 383df78e9f3307dd489fd07e341a9900ebdb4590 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 9 Mar 2009 21:06:15 +0100 Subject: [PATCH] =?utf8?q?Add=20method=20to=20set=20the=20node=E2=80=99s?= =?utf8?q?=20hostname.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/net/pterodactylus/arachne/core/Core.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/net/pterodactylus/arachne/core/Core.java b/src/net/pterodactylus/arachne/core/Core.java index ad438b1..e7fc8ef 100644 --- a/src/net/pterodactylus/arachne/core/Core.java +++ b/src/net/pterodactylus/arachne/core/Core.java @@ -47,6 +47,20 @@ public class Core extends AbstractService { private final List pages = new ArrayList(); // + // ACCESSORS + // + + /** + * Sets the host name of the node. + * + * @param nodeHost + * The node’s host name + */ + public void setNodeHost(String nodeHost) { + this.nodeHost = nodeHost; + } + + // // ACTIONS // -- 2.7.4