Add method to set the node’s hostname.
[arachne.git] / src / net / pterodactylus / arachne / core / Core.java
index ad438b1..e7fc8ef 100644 (file)
@@ -47,6 +47,20 @@ public class Core extends AbstractService {
        private final List<Page> pages = new ArrayList<Page>();
 
        //
+       // ACCESSORS
+       //
+
+       /**
+        * Sets the host name of the node.
+        *
+        * @param nodeHost
+        *            The node’s host name
+        */
+       public void setNodeHost(String nodeHost) {
+               this.nodeHost = nodeHost;
+       }
+
+       //
        // ACTIONS
        //