Package com.citytechinc.cq.component.annotations

Examples of com.citytechinc.cq.component.annotations.Component.basePath()


  public static String getComponentBasePathForComponentClass(CtClass componentClass, String componentPathBase)
    throws ClassNotFoundException {
    Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);
    String toReturnBasePath = componentPathBase;
    if (componentAnnotation != null) {
      String basePath = componentAnnotation.basePath();

      if (StringUtils.isNotEmpty(basePath)) {
        toReturnBasePath = basePath;
      }
    }
View Full Code Here


  public static String getComponentBasePathForComponentClass(CtClass componentClass, String componentPathBase)
    throws ClassNotFoundException {
    Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);
    String toReturnBasePath = componentPathBase;
    if (componentAnnotation != null) {
      String basePath = componentAnnotation.basePath();

      if (StringUtils.isNotEmpty(basePath)) {
        toReturnBasePath = basePath;
      }
    }
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.