Examples of TargetRegistryEventAdd


Examples of org.sonatype.nexus.proxy.events.TargetRegistryEventAdd

  public synchronized boolean addRepositoryTarget(Target target) throws ConfigurationException {
    CRepositoryTarget cnf = convert(target);
    validate(cnf);
    removeRepositoryTarget(cnf.getId(), true);
    getCurrentConfiguration(true).add(cnf);
    eventBus().post(new TargetRegistryEventAdd(this, target));
    return true;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.