Package org.concordion.internal
Class ClassNameBasedSpecificationLocator
java.lang.Object
org.concordion.internal.ClassNameBasedSpecificationLocator
- All Implemented Interfaces:
SpecificationLocator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocateSpecification
(FixtureDeclarations fixtureDeclarations, String specificationSuffix) Locates a specification, allowing the type suffix of the specification to be specified.
-
Constructor Details
-
ClassNameBasedSpecificationLocator
public ClassNameBasedSpecificationLocator()
-
-
Method Details
-
locateSpecification
public Resource locateSpecification(FixtureDeclarations fixtureDeclarations, String specificationSuffix) Description copied from interface:SpecificationLocator
Locates a specification, allowing the type suffix of the specification to be specified.- Specified by:
locateSpecification
in interfaceSpecificationLocator
- Parameters:
fixtureDeclarations
- the fixture type to find the specification forspecificationSuffix
- the suffix of the specification- Returns:
- the resource for the specification, which may or may not actually exist
-