Class AbstractOfficeSource
- java.lang.Object
-
- net.officefloor.compile.spi.office.source.impl.AbstractOfficeSource
-
- All Implemented Interfaces:
OfficeSource
- Direct Known Subclasses:
OfficeModelOfficeSource
public abstract class AbstractOfficeSource extends java.lang.Object implements OfficeSource
AbstractOfficeSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
AbstractOfficeSource.SpecificationContext
Context for defining the specification.
-
Constructor Summary
Constructors Constructor Description AbstractOfficeSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OfficeSourceSpecification
getSpecification()
Obtains theOfficeSourceSpecification
for thisOfficeSource
.protected abstract void
loadSpecification(AbstractOfficeSource.SpecificationContext context)
Loads theOfficeSourceSpecification
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.spi.office.source.OfficeSource
sourceOffice
-
-
-
-
Method Detail
-
getSpecification
public OfficeSourceSpecification getSpecification()
Description copied from interface:OfficeSource
Obtains the
OfficeSourceSpecification
for thisOfficeSource
.This enables the
OfficeSourceContext
to be populated with the necessary details as per thisOfficeSourceSpecification
in loading theOfficeType
.- Specified by:
getSpecification
in interfaceOfficeSource
- Returns:
OfficeSourceSpecification
.
-
loadSpecification
protected abstract void loadSpecification(AbstractOfficeSource.SpecificationContext context)
Loads theOfficeSourceSpecification
.- Parameters:
context
-AbstractOfficeSource.SpecificationContext
.
-
-