Package net.officefloor.compile.supplier
Interface SupplierLoader
-
- All Known Implementing Classes:
SupplierLoaderImpl
public interface SupplierLoaderLoads theInitialSupplierTypefrom theSupplierSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S extends SupplierSource>
InitialSupplierTypeloadInitialSupplierType(java.lang.Class<S> supplierSourceClass, PropertyList propertyList)Loads and returnsInitialSupplierTypefor theSupplierSource.InitialSupplierTypeloadInitialSupplierType(SupplierSource supplierSource, PropertyList propertyList)Loads and returnsInitialSupplierTypefor theSupplierSource.<S extends SupplierSource>
PropertyListloadSpecification(java.lang.Class<S> supplierSourceClass)PropertyListloadSpecification(SupplierSource supplierSource)SupplierTypeloadSupplierType(InitialSupplierType initialType, AvailableType... availableTypes)Loads the completedSupplierType.
-
-
-
Method Detail
-
loadSpecification
<S extends SupplierSource> PropertyList loadSpecification(java.lang.Class<S> supplierSourceClass)
- Type Parameters:
S-SupplierSourcetype.- Parameters:
supplierSourceClass-SupplierSourceclass.- Returns:
PropertyListof theSupplierSourcePropertyinstances of theSupplierSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadSpecification
PropertyList loadSpecification(SupplierSource supplierSource)
- Parameters:
supplierSource-SupplierSourceinstance.- Returns:
PropertyListof theSupplierSourcePropertyinstances of theSupplierSourceSpecificationornullif issue, which is reported to theCompilerIssues.
-
loadInitialSupplierType
<S extends SupplierSource> InitialSupplierType loadInitialSupplierType(java.lang.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
SupplierType loadSupplierType(InitialSupplierType initialType, AvailableType... availableTypes)
Loads the completedSupplierType.- Parameters:
initialType-InitialSupplierType.availableTypes-AvailableTypeinstances.- Returns:
SupplierType.
-
-