@Repeatable(value=ConditionOnTargetType.List.class) @Documented @Target(value={ANNOTATION_TYPE,FIELD,TYPE,METHOD}) @Retention(value=RUNTIME) public @interface ConditionOnTargetType
cn.crane4j.core.condition.ConditionOnTargetTypeParser| 限定符和类型 | 可选元素和说明 |
|---|---|
String[] |
id
The id of operations which to bound.
|
boolean |
negate
Whether the current condition to be negated.
|
int |
sort
Get the order of the condition.
|
boolean |
strict
Whether the target type should be strictly matched.
|
ConditionType |
type
The type of multi conditions.
|
Class<?>[] |
value
Type of the target.
|
public abstract String[] id
The id of operations which to bound.
If id is empty, the condition applies to all operations
what declared on the same element as annotated by current annotation.
public abstract ConditionType type
public abstract boolean negate
public abstract Class<?>[] value
Copyright © 2024. All rights reserved.