Package com.e1c.g5.v8.dt.check.settings
Interface ICheckParameterSettings
- All Known Implementing Classes:
CheckPropertySettings
public interface ICheckParameterSettings
Separate check parameter settings for each parameter that are being supplied with the
ICheckSettings
during
the ICheck.check(Object, com.e1c.g5.v8.dt.check.ICheckResultAcceptor, com.e1c.g5.v8.dt.check.ICheckParameters, org.eclipse.core.runtime.IProgressMonitor)
phase, as well as during the parameter value changes during the check settings editing via check preferences UI.
Please note that changes of the parameter values during the check state are discarded after the check is finished
and cannot be used to change check settings permanently-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the parametergetTitle()
Gets the title of the parameterClass<?>
getType()
Gets the type of the parametergetValue()
Gets the current raw value of the parameter.boolean
Returns whether property value matches the default one (so it wasn't changed by the user)void
Sets the property value
-
Method Details
-
setValue
Sets the property value- Parameters:
value
- the value to set
-
getName
String getName()Gets the name of the parameter- Returns:
- The name of the parameter. May not be
null
-
getTitle
String getTitle()Gets the title of the parameter- Returns:
- The title of the paramter. May not be
null
-
getType
Class<?> getType()Gets the type of the parameter- Returns:
- The type of the parameter. May not be
null
-
getValue
String getValue()Gets the current raw value of the parameter. May not benull
- Returns:
- The value of the parameter. May not be
null
. May be empty string
-
isDefault
boolean isDefault()Returns whether property value matches the default one (so it wasn't changed by the user)- Returns:
- True if the parameter value wasn't changed by the user
-