Package net.officefloor.compile.supplier
Interface SupplierLoader
-
- All Known Implementing Classes:
SupplierLoaderImpl
public interface SupplierLoader
Loads theInitialSupplierType
from 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 returnsInitialSupplierType
for theSupplierSource
.InitialSupplierType
loadInitialSupplierType(SupplierSource supplierSource, PropertyList propertyList)
Loads and returnsInitialSupplierType
for theSupplierSource
.<S extends SupplierSource>
PropertyListloadSpecification(java.lang.Class<S> supplierSourceClass)
PropertyList
loadSpecification(SupplierSource supplierSource)
SupplierType
loadSupplierType(InitialSupplierType initialType, AvailableType... availableTypes)
Loads the completedSupplierType
.
-
-
-
Method Detail
-
loadSpecification
<S extends SupplierSource> PropertyList loadSpecification(java.lang.Class<S> supplierSourceClass)
- Type Parameters:
S
-SupplierSource
type.- Parameters:
supplierSourceClass
-SupplierSource
class.- Returns:
PropertyList
of theSupplierSourceProperty
instances of theSupplierSourceSpecification
ornull
if issue, which is reported to theCompilerIssues
.
-
loadSpecification
PropertyList loadSpecification(SupplierSource supplierSource)
- Parameters:
supplierSource
-SupplierSource
instance.- Returns:
PropertyList
of theSupplierSourceProperty
instances of theSupplierSourceSpecification
ornull
if issue, which is reported to theCompilerIssues
.
-
loadInitialSupplierType
<S extends SupplierSource> InitialSupplierType loadInitialSupplierType(java.lang.Class<S> supplierSourceClass, PropertyList propertyList)
Loads and returnsInitialSupplierType
for theSupplierSource
.- Type Parameters:
S
-SupplierSource
type.- Parameters:
supplierSourceClass
- Class of theSupplierSource
.propertyList
-PropertyList
containing the properties to source theInitialSupplierType
.- Returns:
InitialSupplierType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadInitialSupplierType
InitialSupplierType loadInitialSupplierType(SupplierSource supplierSource, PropertyList propertyList)
Loads and returnsInitialSupplierType
for theSupplierSource
.- Parameters:
supplierSource
-SupplierSource
instance.propertyList
-PropertyList
containing the properties to source theInitialSupplierType
.- Returns:
InitialSupplierType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadSupplierType
SupplierType loadSupplierType(InitialSupplierType initialType, AvailableType... availableTypes)
Loads the completedSupplierType
.- Parameters:
initialType
-InitialSupplierType
.availableTypes
-AvailableType
instances.- Returns:
SupplierType
.
-
-