public static final class ArchRuleDefinition.Creator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<TYPE> GivenObjects<TYPE> |
all(ClassesTransformer<TYPE> classesTransformer)
Takes a
ClassesTransformer to specify how the set of objects of interest is to be created
from JavaClasses (which are the general input obtained from a ClassFileImporter ). |
GivenClasses |
classes() |
<TYPE> GivenObjects<TYPE> |
no(ClassesTransformer<TYPE> classesTransformer)
Same as
all(ClassesTransformer) , but negates the following condition. |
GivenClasses |
noClasses() |
public GivenClasses classes()
public GivenClasses noClasses()
public <TYPE> GivenObjects<TYPE> all(ClassesTransformer<TYPE> classesTransformer)
ClassesTransformer
to specify how the set of objects of interest is to be created
from JavaClasses
(which are the general input obtained from a ClassFileImporter
).TYPE
- The target type to which the later used ArchCondition<TYPE>
will have to refer toclassesTransformer
- Transformer specifying how the imported JavaClasses
are to be transformedGivenObjects
to guide the creation of an ArchRule
public <TYPE> GivenObjects<TYPE> no(ClassesTransformer<TYPE> classesTransformer)
all(ClassesTransformer)
, but negates the following condition.