public abstract class AbstractWorkSource<W extends Work> extends Object implements WorkSource<W>
WorkSource
.Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractWorkSource.SpecificationContext
Context for defining the specification.
|
Constructor and Description |
---|
AbstractWorkSource() |
Modifier and Type | Method and Description |
---|---|
WorkSourceSpecification |
getSpecification()
Obtains the
WorkSourceSpecification for this WorkSource . |
protected abstract void |
loadSpecification(AbstractWorkSource.SpecificationContext context)
Loads the
WorkSourceSpecification . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sourceWork
public WorkSourceSpecification getSpecification()
WorkSource
Obtains the WorkSourceSpecification
for this WorkSource
.
This enables the WorkSourceContext
to be populated with the
necessary details as per this WorkSourceSpecification
in loading
the WorkType
.
getSpecification
in interface WorkSource<W extends Work>
WorkSourceSpecification
.protected abstract void loadSpecification(AbstractWorkSource.SpecificationContext context)
WorkSourceSpecification
.context
- AbstractWorkSource.SpecificationContext
.Copyright © 2005–2016. All rights reserved.