Package com.e1c.g5.v8.dt.bsl.check
Class DocumentationCommentBasicDelegateCheck
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.components.BasicCheck
- 
- com.e1c.g5.v8.dt.bsl.check.DocumentationCommentBasicDelegateCheck
 
 
- 
- All Implemented Interfaces:
- ITopObjectFilter,- ICheck
 
 public abstract class DocumentationCommentBasicDelegateCheck extends BasicCheck Basic documentation comment check. Delelopers should use it to perform easier validations of documenting comments
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptorAccepts results of the check in form ofIssue's.- 
Nested classes/interfaces inherited from class com.e1c.g5.v8.dt.check.components.BasicCheckBasicCheck.CheckConfigurer, BasicCheck.CheckParameterBuilder, BasicCheck.ContainmentConfigurationBuilder, BasicCheck.DelegateCheckConfigurationBuilder, BasicCheck.ModuleConfigurationBuilder, BasicCheck.ResultAcceptor, BasicCheck.TopObjectConfigurationBuilder, BasicCheck.TopObjectFeatureConfigurationBuilder
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected IBmModelManagerbmModelManagerBM manager service.protected INamingServicenamingServiceThe naming service.protected IResourceLookupresourceLookupThe resource lookup service.
 - 
Constructor SummaryConstructors Constructor Description DocumentationCommentBasicDelegateCheck(IResourceLookup resourceLookup, INamingService namingService, IBmModelManager bmModelManager)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheck(Object object, BasicCheck.ResultAcceptor resultAcceptor, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor progressMonitor)The method that performs the check.protected abstract voidcheckDocumentationCommentObject(IDescriptionPart descriptionPart, BslDocumentationComment rootNode, DocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptor resultAceptor, ICheckParameters parameters, BmOperationContext typeComputationContext, org.eclipse.core.runtime.IProgressMonitor progressMonitor)Checks the documentation comment model object.- 
Methods inherited from class com.e1c.g5.v8.dt.check.components.BasicCheckcheck, configureCheck, configureContextCollector, isCheckApplicable
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.e1c.g5.v8.dt.check.ICheckgetCheckId
 
- 
 
- 
- 
- 
Field Detail- 
resourceLookupprotected final IResourceLookup resourceLookup The resource lookup service.
 - 
namingServiceprotected final INamingService namingService The naming service.
 - 
bmModelManagerprotected final IBmModelManager bmModelManager BM manager service.
 
- 
 - 
Constructor Detail- 
DocumentationCommentBasicDelegateCheckpublic DocumentationCommentBasicDelegateCheck(IResourceLookup resourceLookup, INamingService namingService, IBmModelManager bmModelManager) - Parameters:
- namingService-
- bmModelManager-
 
 
- 
 - 
Method Detail- 
checkprotected final void check(Object object, BasicCheck.ResultAcceptor resultAcceptor, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from class:BasicCheckThe method that performs the check. Check results (issues) need to be placed into the result acceptor. Validation may be cancelled by a user. Complex implemantations should take this into the account and checkIProgressMonitor.isCanceled()periodically during long-running operations.- Specified by:
- checkin class- BasicCheck
- Parameters:
- object- The object to check, not- null
- resultAcceptor- Result acceptor, not- null
- parameters- The set of check execution parameters taken from check settings, not- null
- progressMonitor- Current check progress monitor, not- null
 
 - 
checkDocumentationCommentObjectprotected abstract void checkDocumentationCommentObject(IDescriptionPart descriptionPart, BslDocumentationComment rootNode, DocumentationCommentBasicDelegateCheck.DocumentationCommentResultAcceptor resultAceptor, ICheckParameters parameters, BmOperationContext typeComputationContext, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Checks the documentation comment model object. Check developers should implement their main check logic by overriding this method- Parameters:
- descriptionPart- The checked part of the documentation comment model. May not be- null
- rootNode- The root node of the documentation comment model. May not be- null
- resultAceptor- The check's result acceptor. May not be- null
- parameters- The accessor of the check's parameters. May not be- null
- progressMonitor- The progress monitor. It should be checked for the canceling in case of the long/complex checks. May not be- null
 
 
- 
 
-