Package aQute.service.library.Library

Examples of aQute.service.library.Library.Deposit


   * Put an artifact in the repo
   */
  @Override
  public PutResult put(InputStream in, PutOptions options) throws Exception {
    try {
      Deposit depo = new Library.Deposit();
      depo.depository = this.options.depository();
      depo.organization = this.options.domain();
      depo.email = settings.getEmail();
      depo.type = options.type;

      List<Error> s = depo.validate();
      if (!s.isEmpty())
        throw new IllegalArgumentException("Invalid request: " + s.toString());

      File f = File.createTempFile("depo-", ".jar");
      try {
View Full Code Here


  }

  @Override
  public PutResult put(InputStream in, PutOptions options) throws Exception {
    try {
      Deposit depo = new Library.Deposit();
      depo.depository = this.options.depository();
      depo.domain = this.options.domain();
      depo.email = settings.getEmail();
      depo.type = options.type;

      List<Error> s = depo.validate();
      if (!s.isEmpty())
        throw new IllegalArgumentException("Invalid request: " + s.toString());

      File f = File.createTempFile("depo-", ".jar");
      try {
View Full Code Here

TOP

Related Classes of aQute.service.library.Library.Deposit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.