com.zusmart.basic.scanner.support.InternalScannerClassResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zusmart-basic Show documentation
Show all versions of zusmart-basic Show documentation
基础模块,提供配置,日志,SPI,图排序,路径匹配,资源扫描,包扫描,常用工具类
package com.zusmart.basic.scanner.support;
import java.net.URL;
import com.zusmart.basic.scanner.ScannerClassResult;
import com.zusmart.basic.scanner.ScannerResultType;
public class InternalScannerClassResult extends AbstractScannerResult implements ScannerClassResult {
protected Class> targetClass;
public InternalScannerClassResult(URL url, Class> targetClass) {
super(url, targetClass.getName());
this.targetClass = targetClass;
}
@Override
public ScannerResultType getTargetType() {
return ScannerResultType.Class;
}
@Override
public Class> getTargetClass() {
return this.targetClass;
}
}