diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-26 21:06:24 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-26 21:06:24 +0100 |
commit | 0ae7ecd47fd76921e8e1137739497578fe703354 (patch) | |
tree | e06a9b45b5e1e7a8922cdba11b1a39188ddeeee2 /module/ri-base/src/main/java/io | |
parent | 71010ae3fefbe897227343e44573385df9cd60cc (diff) | |
download | rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.gz rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.bz2 rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.tar.xz rules-sandbox-0ae7ecd47fd76921e8e1137739497578fe703354.zip |
Better main().
* Moving templates into their respective modules.
* Supporting export type-based filtering. Probably not perfect.
Diffstat (limited to 'module/ri-base/src/main/java/io')
-rw-r--r-- | module/ri-base/src/main/java/io/trygvis/rules/machine/MachineSpecification.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/ri-base/src/main/java/io/trygvis/rules/machine/MachineSpecification.java b/module/ri-base/src/main/java/io/trygvis/rules/machine/MachineSpecification.java index 2e17ae5..9d38b2d 100644 --- a/module/ri-base/src/main/java/io/trygvis/rules/machine/MachineSpecification.java +++ b/module/ri-base/src/main/java/io/trygvis/rules/machine/MachineSpecification.java @@ -1,8 +1,10 @@ package io.trygvis.rules.machine; public class MachineSpecification { - public final int cpu; - public final int memory; + public int cpu; + public int memory; + + protected MachineSpecification() {} public MachineSpecification(int cpu, int memory) { this.cpu = cpu; |