Package net.officefloor.compile.supplier
Interface SupplierLoader
- All Known Implementing Classes:
SupplierLoaderImpl
public interface SupplierLoader
Loads the
InitialSupplierType from the SupplierSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<S extends SupplierSource>
InitialSupplierTypeloadInitialSupplierType(Class<S> supplierSourceClass, PropertyList propertyList) Loads and returnsInitialSupplierTypefor theSupplierSource.loadInitialSupplierType(SupplierSource supplierSource, PropertyList propertyList) Loads and returnsInitialSupplierTypefor theSupplierSource.<S extends SupplierSource>
PropertyListloadSpecification(Class<S> supplierSourceClass) loadSpecification(SupplierSource supplierSource) loadSupplierType(InitialSupplierType initialType, AvailableType... availableTypes) Loads the completedSupplierType.
-
Method Details
-
loadSpecification
- Type Parameters:
S-SupplierSourcetype.- Parameters:
supplierSourceClass-SupplierSourceclass.- Returns:
PropertyListof theSupplierSourcePropertyinstances of theSupplierSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadSpecification
- Parameters:
supplierSource-SupplierSourceinstance.- Returns:
PropertyListof theSupplierSourcePropertyinstances of theSupplierSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadInitialSupplierType
<S extends SupplierSource> InitialSupplierType loadInitialSupplierType(Class<S> supplierSourceClass, PropertyList propertyList) Loads and returnsInitialSupplierTypefor theSupplierSource.- Type Parameters:
S-SupplierSourcetype.- Parameters:
supplierSourceClass- Class of theSupplierSource.propertyList-PropertyListcontaining the properties to source theInitialSupplierType.- Returns:
InitialSupplierTypeornullif issues, which are reported to theCompilerIssues.
-
loadInitialSupplierType
InitialSupplierType loadInitialSupplierType(SupplierSource supplierSource, PropertyList propertyList) Loads and returnsInitialSupplierTypefor theSupplierSource.- Parameters:
supplierSource-SupplierSourceinstance.propertyList-PropertyListcontaining the properties to source theInitialSupplierType.- Returns:
InitialSupplierTypeornullif issues, which are reported to theCompilerIssues.
-
loadSupplierType
Loads the completedSupplierType.- Parameters:
initialType-InitialSupplierType.availableTypes-AvailableTypeinstances.- Returns:
SupplierType.
-