Package net.officefloor.compile.office
Interface OfficeLoader
- All Known Implementing Classes:
OfficeLoaderImpl
public interface OfficeLoader
Loads the
OfficeType from the OfficeSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<O extends OfficeSource>
OfficeTypeloadOfficeType(Class<O> officeSourceClass, String officeLocation, PropertyList propertyList) Loads and returns theOfficeTypefrom theOfficeSource.loadOfficeType(OfficeSource officeSource, String officeLocation, PropertyList propertyList) Loads and returns theOfficeTypefrom theOfficeSource.<O extends OfficeSource>
PropertyListloadSpecification(Class<O> officeSourceClass)
-
Method Details
-
loadSpecification
- Type Parameters:
O-OfficeSourcetype.- Parameters:
officeSourceClass- Class of theOfficeSource.- Returns:
PropertyListof theOfficeSourcePropertyinstances of theOfficeSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadOfficeType
<O extends OfficeSource> OfficeType loadOfficeType(Class<O> officeSourceClass, String officeLocation, PropertyList propertyList) Loads and returns theOfficeTypefrom theOfficeSource.- Type Parameters:
O-OfficeSourcetype.- Parameters:
officeSourceClass- Class of theOfficeSource.officeLocation- Location of theOffice.propertyList-PropertyListcontaining the properties to source theOfficeType.- Returns:
OfficeTypeornullif issues, which are reported to theCompilerIssues.
-
loadOfficeType
OfficeType loadOfficeType(OfficeSource officeSource, String officeLocation, PropertyList propertyList) Loads and returns theOfficeTypefrom theOfficeSource.- Parameters:
officeSource-OfficeSourceinstance.officeLocation- Location of theOffice.propertyList-PropertyListcontaining the properties to source theOfficeType.- Returns:
OfficeTypeornullif issues, which are reported to theCompilerIssues.
-