1 package net.sf.invicta.handler; 2 3 import java.util.List ; 4 import java.util.Map ; 5 6 import net.sf.invicta.InvictaConstants; 7 import net.sf.invicta.InvictaException; 8 9 12 public class GlobalComponentDependHandler extends InvictaBasicHandler { 13 14 17 public String getName() { 18 return "globalComponentDepend"; 19 } 20 21 24 public String handle(List params) throws InvictaException { 25 return getGlobalComponentDepend(); 26 } 27 28 31 public String handle(Map paramsMap) throws InvictaException { 32 return getGlobalComponentDepend(); 33 } 34 35 38 protected String getGlobalComponentDepend() { 39 return getProject().getGlobalComponent().getName() + 40 InvictaConstants.TARGET_DELIMITER + 41 getProject().getGlobalComponent().getBuildTarget(); 42 } 43 44 } 45 | Popular Tags |