Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-203

Should be able to get a added Archive as a type

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • None
    • 1.0.0-alpha-10
    • api, impl-base
    • None

    Description

      It should be possible to "get" a nested Archive out of the parent Archive without having to cast/rely on impl details:

      Archive<?> applicationArchive = ((ArchiveAsset)archive.get(ArchivePaths.create("test.war")).getAsset()).getArchive();

      A simple design could be:

      WebArchive applicationArchive = archive.get(WebArchive.class, ArchivePaths.create("test.war"));

      Attachments

        Activity

          People

            Unassigned Unassigned
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: