Package org.beangle.packagekit.engine.task

Examples of org.beangle.packagekit.engine.task.InstallTask


  private List<ResourceTask> resourceTasks = new ArrayList<ResourceTask>();

  public void addResource(Resource resource, UpdateAction action) {
    switch (action) {
    case INSTALL:
      resourceTasks.add(new InstallTask(resource));
      break;
    case UPDATE:
      Resource existed = registry.getResource(resource.getName());
      resourceTasks.add(new UpdateTask(resource, existed));
      break;
View Full Code Here

TOP

Related Classes of org.beangle.packagekit.engine.task.InstallTask

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.