summaryrefslogtreecommitdiff
path: root/module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-01-24 21:43:30 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2021-01-24 21:43:30 +0100
commit0037e24177fe9fc28809b8afd67a881af94037c0 (patch)
tree57de3f5c3ed2e06272d2a80086375176df4d5f3d /module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java
parent35942469a41df149fe35b113d6f228b654616757 (diff)
downloadrules-sandbox-0037e24177fe9fc28809b8afd67a881af94037c0.tar.gz
rules-sandbox-0037e24177fe9fc28809b8afd67a881af94037c0.tar.bz2
rules-sandbox-0037e24177fe9fc28809b8afd67a881af94037c0.tar.xz
rules-sandbox-0037e24177fe9fc28809b8afd67a881af94037c0.zip
WIP: Optaplanner.
Diffstat (limited to 'module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java')
-rw-r--r--module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java b/module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java
new file mode 100644
index 0000000..aa2087d
--- /dev/null
+++ b/module/acme/src/main/java/io/trygvis/acme/planning/machine/CloudComputer.java
@@ -0,0 +1,16 @@
+package io.trygvis.acme.planning.machine;
+
+public class CloudComputer {
+ public final String host;
+ public final ScalewayInstance instance;
+
+ public CloudComputer(String host, ScalewayInstance instance) {
+ this.host = host;
+ this.instance = instance;
+ }
+
+ @Override
+ public String toString() {
+ return host;
+ }
+}