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 SourceIssuesProvides means to raiseCompilerIssue.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompileErroraddIssue(java.lang.String issueDescription)Allows the source to add an issue.CompileErroraddIssue(java.lang.String issueDescription, java.lang.Throwable cause)Allows the source to add an issue along with its cause.
-
-
-
Method Detail
-
addIssue
CompileError addIssue(java.lang.String issueDescription)
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
CompileError addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
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.
-
-