Skip to content
Snippets Groups Projects
Commit 9552dd20 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

adds possibility to find a constraint by name

refs 2553
parent ecd41976
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ import org.fortiss.tooling.kernel.model.constraints.OutdatedConstraintInstanceSt
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 6C3541045E6ECF24111E6F8DBDBF53ED
* @ConQAT.Rating YELLOW Hash: C976ED3E01D1613AFD035C312865CB69
*/
public interface IConstraintService {
......@@ -80,6 +80,9 @@ public interface IConstraintService {
/** Returns the name of the given constraint, usable for serialization. */
public String getName(Class<? extends IConstraint> cstrClass);
/** Returns a constraint, given its name. */
public Class<? extends IConstraint> getConstraintByName(String name);
/** Registers the given verifier with the service. */
void registerConstraint(Class<? extends IConstraint> cstrClass);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment