Package net.officefloor.compile.issues
Interface SourceIssues
- All Known Subinterfaces:
ManagedFunctionAugmentorContext,ManagedObjectSourceAugmentorContext,OfficeArchitect,OfficeFloorDeployer,OfficeFloorNode,OfficeNode,SectionDesigner,SectionNode,TeamAugmentorContext
- All Known Implementing Classes:
OfficeFloorNodeImpl,OfficeNodeImpl,SectionNodeImpl,TransformSectionDesigner,WebTemplateLoaderImpl
public interface SourceIssues
Provides means to raise
CompilerIssue.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionAllows the source to add an issue.Allows the source to add an issue along with its cause.
-
Method Details
-
addIssue
Allows the source to add an issue.
This is available to report invalid configuration.
- Parameters:
issueDescription- Description of the issue.- Returns:
CompileErrorto be used inthrowstatement when addingCompilerIssueto avoid further compiling.
-
addIssue
Allows the source to add an issue along with its cause.
This is available to report invalid configuration.
- Parameters:
issueDescription- Description of the issue.cause- Cause of the issue.- Returns:
CompileErrorto be used inthrowstatement when addingCompilerIssueto avoid further compiling.
-