Package net.officefloor.compile.office
Interface OfficeLoader
-
- All Known Implementing Classes:
OfficeLoaderImpl
public interface OfficeLoader
Loads theOfficeType
from 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 theOfficeType
from theOfficeSource
.OfficeType
loadOfficeType(OfficeSource officeSource, java.lang.String officeLocation, PropertyList propertyList)
Loads and returns theOfficeType
from 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
-OfficeSource
type.- Parameters:
officeSourceClass
- Class of theOfficeSource
.- Returns:
PropertyList
of theOfficeSourceProperty
instances of theOfficeSourceSpecification
ornull
if 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 theOfficeType
from theOfficeSource
.- Type Parameters:
O
-OfficeSource
type.- Parameters:
officeSourceClass
- Class of theOfficeSource
.officeLocation
- Location of theOffice
.propertyList
-PropertyList
containing the properties to source theOfficeType
.- Returns:
OfficeType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadOfficeType
OfficeType loadOfficeType(OfficeSource officeSource, java.lang.String officeLocation, PropertyList propertyList)
Loads and returns theOfficeType
from theOfficeSource
.- Parameters:
officeSource
-OfficeSource
instance.officeLocation
- Location of theOffice
.propertyList
-PropertyList
containing the properties to source theOfficeType
.- Returns:
OfficeType
ornull
if issues, which are reported to theCompilerIssues
.
-
-