Added Interface HasRequirement

jimFirstDesign
Felix Stupp 6 years ago
parent 13a6f32cea
commit 7ee325d760

@ -0,0 +1,13 @@
package de.banananetwork.dsa.requirements;
import java.util.Objects;
public interface HasRequirement { //TODO Rename
Requirement getRequirement();
default boolean hasRequirement() {
return !Objects.isNull(getRequirement());
}
}
Loading…
Cancel
Save