org.jboss.shrinkwrap.api.asset
Interface NamedAsset
- All Superinterfaces:
- Asset
public interface NamedAsset
- extends Asset
Pluggable separation between an Asset and a default name used to add
Assets into an archive without having to explicitly supply the name
(ArchivePath
) each time.
This interface is intended to be a pluggable way to specify and
create many instances of Assets that use the same name in a programmatic
manner, mainly to remove duplication of having to specify the same resource
name repeatedly.
- Author:
- Chris Wash
Method Summary |
String |
getName()
Specifies the name (ArchivePath) for the archive |
Methods inherited from interface org.jboss.shrinkwrap.api.asset.Asset |
openStream |
getName
String getName()
- Specifies the name (ArchivePath) for the archive
- Returns:
String
representation of the ArchivePath
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.