projects
/
arachne.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add method to set the node’s hostname.
[arachne.git]
/
src
/
net
/
pterodactylus
/
arachne
/
core
/
Core.java
diff --git
a/src/net/pterodactylus/arachne/core/Core.java
b/src/net/pterodactylus/arachne/core/Core.java
index
ad438b1
..
e7fc8ef
100644
(file)
--- 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<Page> pages = new ArrayList<Page>();
//
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
//
// ACTIONS
//