Package net.officefloor.compile.office
Interface OfficeLoader
-
- All Known Implementing Classes:
OfficeLoaderImpl
public interface OfficeLoaderLoads theOfficeTypefrom theOfficeSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <O extends OfficeSource>
OfficeTypeloadOfficeType(java.lang.Class<O> officeSourceClass, java.lang.String officeLocation, PropertyList propertyList)Loads and returns theOfficeTypefrom theOfficeSource.OfficeTypeloadOfficeType(OfficeSource officeSource, java.lang.String officeLocation, PropertyList propertyList)Loads and returns theOfficeTypefrom theOfficeSource.<O extends OfficeSource>
PropertyListloadSpecification(java.lang.Class<O> officeSourceClass)
-
-
-
Method Detail
-
loadSpecification
<O extends OfficeSource> PropertyList loadSpecification(java.lang.Class<O> officeSourceClass)
- 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(java.lang.Class<O> officeSourceClass, java.lang.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, java.lang.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.
-
-