public class SpaceResourceIdentifierResolver extends Object implements ResourceIdentifierResolver<SpaceResourceIdentifier,Space>
Constructor and Description |
---|
SpaceResourceIdentifierResolver(SpaceManager spaceManager) |
Modifier and Type | Method and Description |
---|---|
Space |
resolve(SpaceResourceIdentifier resourceIdentifier,
ConversionContext conversionContext)
Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.
|
public SpaceResourceIdentifierResolver(SpaceManager spaceManager)
public Space resolve(SpaceResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
resolve
in interface ResourceIdentifierResolver<SpaceResourceIdentifier,Space>
resourceIdentifier
- The SpaceResourceIdentifier that will be used to resolve the SpaceconversionContext
- Not used in this implCannotResolveResourceIdentifierException
- If the spacekey in the supplied SpaceResourceIdentifier is null.Copyright © 2003–2019 Atlassian. All rights reserved.