Class RepoCommand


  • public class RepoCommand
    extends java.lang.Object
    • Constructor Detail

      • RepoCommand

        public RepoCommand​(bnd bnd,
                           RepoCommand.repoOptions opts)
                    throws java.lang.Exception
        Called from the command line
        Parameters:
        bnd -
        opts -
        Throws:
        java.lang.Exception
    • Method Detail

      • _list

        public void _list​(RepoCommand.listOptions opts)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _get

        public void _get​(RepoCommand.getOptions opts)
                  throws java.lang.Exception
        get a file from the repo
        Parameters:
        opts -
        Throws:
        java.lang.Exception
      • _put

        public void _put​(RepoCommand.putOptions opts)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _diff

        public void _diff​(RepoCommand.diffOptions options)
                   throws java.io.UnsupportedEncodingException,
                          java.io.IOException,
                          java.lang.Exception
        Throws:
        java.io.UnsupportedEncodingException
        java.io.IOException
        java.lang.Exception
      • _copy

        public void _copy​(RepoCommand.CopyOptions options)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • _topom

        public void _topom​(RepoCommand.PomOptions opts)
                    throws java.lang.Exception
        Read a repository and turn all bundles that have a pom into a dependency POM
        Throws:
        java.lang.Exception
      • findMatchingVersion

        private DownloadBlocker findMatchingVersion​(RepositoryPlugin dest,
                                                    java.lang.String bsn,
                                                    Version version)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception