[
https://jira.jboss.org/jira/browse/SHRINKWRAP-118?page=com.atlassian.jira...
]
Andrew Lee Rubinger commented on SHRINKWRAP-118:
------------------------------------------------
Valid methods:
T addResource(String resourceName)
T addResource(String resourceName, String target)
T addResource(String resourceName, ArchivePath target)
T addResource(String resourceName, ArchivePath target, ClassLoader classLoader)
Others, like:
T addResource(File resource, ArchivePath target)
...should be in a new type, FileContainer, with method name "addFile". Same for
URL and Asset.
Split up ResourceConainer accordingly
-------------------------------------
Key: SHRINKWRAP-118
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-118
Project: ShrinkWrap
Issue Type: Task
Reporter: Andrew Lee Rubinger
From the JavaDoc, a "ResourceContainer":
"Defines the contract for a component capable of storing a series of {@link
ClassLoader} resources"
By this measure any API methods here which accept Files or URLs should be shuffled off
elsewhere.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira