Skip to content

Commit

Permalink
Added classes to support the definition of hardware constraints.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRoeder committed Oct 14, 2023
1 parent bbc976c commit 6ec6c4a
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions src/main/java/org/hobbit/core/data/HardwareConstraints.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package org.hobbit.core.data;

public class HardwareConstraints {

protected String iri;
protected String label;
protected long ram;
protected int cpus;
/**
* @return the iri
*/
public String getIri() {
return iri;
}
/**
* @param iri the iri to set
*/
public void setIri(String iri) {
this.iri = iri;
}
/**
* @return the label
*/
public String getLabel() {
return label;
}
/**
* @param label the label to set
*/
public void setLabel(String label) {
this.label = label;
}
/**
* @return the ram
*/
public long getRam() {
return ram;
}
/**
* @param ram the ram to set
*/
public void setRam(long ram) {
this.ram = ram;
}
/**
* @return the cpus
*/
public int getCpus() {
return cpus;
}
/**
* @param cpus the cpus to set
*/
public void setCpus(int cpus) {
this.cpus = cpus;
}
}

0 comments on commit 6ec6c4a

Please sign in to comment.