X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2FCondition.java;fp=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2FCondition.java;h=f028b58fcf09f773b923380ff9ac368f4a265140;hb=d07cf3c7dfdeafa2b1efafe547b54d56a8b52ced;hp=0000000000000000000000000000000000000000;hpb=8596685647867307b862b8a89742b6a62ba75fcd;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.api.slc/src/org/argeo/api/slc/Condition.java b/org.argeo.api.slc/src/org/argeo/api/slc/Condition.java new file mode 100644 index 000000000..f028b58fc --- /dev/null +++ b/org.argeo.api.slc/src/org/argeo/api/slc/Condition.java @@ -0,0 +1,11 @@ +package org.argeo.api.slc; + +/** Binary check on an arbitrary object. */ +public interface Condition { + /** + * Checks the condition. + * + * @return true, if the condition is verified, false if not. + */ + public Boolean check(T obj); +}