Klasse AbstractRuleField
java.lang.Object
com.inet.problemfinder.rules.AbstractRuleField
- Alle implementierten Schnittstellen:
ProblemFinderRule
Base class for all rules checking certain
By default checks every type of field, you should override
Fields.By default checks every type of field, you should override
getFieldType() to limit check to certain fields.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected abstract ProblemFinderWarningHere the concrete check is made.
This is called for each found field that matches the types returned bygetFieldType().findErrors(Engine engine) Runs this rule and checks the given Engine for Problemsintreturns the Field type which has to checked, -1 listen to all Field typesVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ProblemFinderRule
findErrors, getRuleLabel
-
Konstruktordetails
-
AbstractRuleField
public AbstractRuleField()
-
-
Methodendetails
-
findErrors
Runs this rule and checks the given Engine for Problems- Angegeben von:
findErrorsin SchnittstelleProblemFinderRule- Parameter:
engine- TheEngineto check.- Gibt zurück:
- A list of found problems, can be empty or
nullif the Check is Canceled.
-
check
Here the concrete check is made.
This is called for each found field that matches the types returned bygetFieldType().- Parameter:
engine- is the Engine to checkfield- the field to check- Gibt zurück:
- the ProblemFinderWarning of the found error or
nullif there is no warning - Seit:
- i-net Clear Reports 12.0
- Siehe auch:
-
getFieldType
public int getFieldType()returns the Field type which has to checked, -1 listen to all Field types- Gibt zurück:
- the int-type value of the Field
- Seit:
- i-net Clear Reports 12.0
- Siehe auch:
-