Class ExecutiveLoaderImpl
java.lang.Object
net.officefloor.compile.impl.executive.ExecutiveLoaderImpl
- All Implemented Interfaces:
ExecutiveLoader,IssueTarget
ExecutiveLoader implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the issue.voidAdds the issue.<TS extends ExecutiveSource>
ExecutiveTypeloadExecutiveType(Class<TS> executiveSourceClass, PropertyList propertyList) Loads and returns theExecutiveTypesourced from theExecutiveSource.loadExecutiveType(ExecutiveSource executiveSource, PropertyList propertyList) Loads and returns theExecutiveTypesourced from theExecutiveSource.<TS extends ExecutiveSource>
PropertyListloadSpecification(Class<TS> executiveSourceClass) loadSpecification(ExecutiveSource executiveSource)
-
Constructor Details
-
ExecutiveLoaderImpl
Instantiate.- Parameters:
node-Noderequiring theExecutive.nodeContext-NodeContext.
-
-
Method Details
-
loadSpecification
Description copied from interface:ExecutiveLoader- Specified by:
loadSpecificationin interfaceExecutiveLoader- Type Parameters:
TS-ExecutiveSourcetype.- Parameters:
executiveSourceClass- Class of theExecutiveSource.- Returns:
PropertyListof theExecutiveSourcePropertyinstances of theExecutiveSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadSpecification
Description copied from interface:ExecutiveLoader- Specified by:
loadSpecificationin interfaceExecutiveLoader- Parameters:
executiveSource-ExecutiveSourceinstance.- Returns:
PropertyListof theExecutiveSourcePropertyinstances of theExecutiveSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadExecutiveType
public <TS extends ExecutiveSource> ExecutiveType loadExecutiveType(Class<TS> executiveSourceClass, PropertyList propertyList) Description copied from interface:ExecutiveLoaderLoads and returns theExecutiveTypesourced from theExecutiveSource.- Specified by:
loadExecutiveTypein interfaceExecutiveLoader- Type Parameters:
TS-ExecutiveSourcetype.- Parameters:
executiveSourceClass- Class of theExecutiveSource.propertyList-PropertyListcontaining the properties to source theExecutiveType.- Returns:
ExecutiveTypeornullif issues, which are reported to theCompilerIssues.
-
loadExecutiveType
Description copied from interface:ExecutiveLoaderLoads and returns theExecutiveTypesourced from theExecutiveSource.- Specified by:
loadExecutiveTypein interfaceExecutiveLoader- Parameters:
executiveSource-ExecutiveSourceinstance.propertyList-PropertyListcontaining the properties to source theExecutiveType.- Returns:
ExecutiveTypeornullif issues, which are reported to theCompilerIssues.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.
-
addIssue
Description copied from interface:IssueTargetAdds the issue.- Specified by:
addIssuein interfaceIssueTarget- Parameters:
issueDescription- Description of the issue.cause- Cause of the issue.
-