From: David ‘Bombe’ Roden Date: Mon, 9 Mar 2009 20:06:15 +0000 (+0100) Subject: Add method to set the node’s hostname. X-Git-Url: https://git.pterodactylus.net/?p=arachne.git;a=commitdiff_plain;h=383df78e9f3307dd489fd07e341a9900ebdb4590 Add method to set the node’s hostname. --- 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 //