@Documented @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,TYPE}) @Repeatable(value=Scans.class) public @interface Scan
| Modifier and Type | Required Element and Description |
|---|---|
String |
value
A value that represents a resource in the classpath that should be scanned and loaded.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
test
An attribute that indicates whether the scan is a for testing purpose.
|
public abstract String value
A value that represents a resource in the classpath that should be scanned and loaded.
Please note that to encourage simplicity and modular design scanning of resources is
limited to a single resource. If you absolutely need to scan and load multiple resources
Scan annotation is repeatable.
public abstract boolean test
Copyright © 2016–2018 Testify Project. All rights reserved.