-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few fixes, plus some refactoring to make it easier to debug what's …
…happening when the component finder is running.
- Loading branch information
1 parent
9529188
commit 63cb000
Showing
46 changed files
with
706 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Logging | ||
handlers = java.util.logging.ConsoleHandler | ||
.level = INFO | ||
|
||
java.util.logging.SimpleFormatter.format=%2$s: %5$s%n | ||
|
||
java.util.logging.ConsoleHandler.level = ALL | ||
|
||
com.structurizr.component.ComponentFinder.level = ALL | ||
com.structurizr.component.TypeFinder.level = ALL | ||
com.structurizr.component.TypeDependencyFinder.level = ALL | ||
com.structurizr.component.ComponentFinderStrategy.level = ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# structurizr-annotation | ||
|
||
[![Maven Central](https://img.shields.io/maven-central/v/com.structurizr/structurizr-annotation.svg?label=Maven%20Central)](https://search.maven.org/artifact/com.structurizr/structurizr-annotation) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dependencies { | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
structurizr-annotation/src/main/java/com/structurizr/annotation/Properties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.structurizr.annotation; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* A wrapper for @Property annotations. | ||
*/ | ||
@Documented | ||
@Target(ElementType.TYPE) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface Properties { | ||
|
||
Property[] value(); | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
structurizr-annotation/src/main/java/com/structurizr/annotation/Property.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.structurizr.annotation; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* A type-level annotation that can be used to add a name-value property to the model element represented by the type. | ||
*/ | ||
@Documented | ||
@Target(ElementType.TYPE) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Repeatable(Properties.class) | ||
public @interface Property { | ||
|
||
String name(); | ||
String value(); | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
structurizr-annotation/src/main/java/com/structurizr/annotation/Tag.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.structurizr.annotation; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* A type-level annotation that can be used to add a tag to the model element represented by the type. | ||
*/ | ||
@Documented | ||
@Target(ElementType.TYPE) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Repeatable(Tags.class) | ||
public @interface Tag { | ||
|
||
String name(); | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
structurizr-annotation/src/main/java/com/structurizr/annotation/Tags.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.structurizr.annotation; | ||
|
||
import java.lang.annotation.*; | ||
|
||
/** | ||
* A wrapper for @Tag annotations. | ||
*/ | ||
@Documented | ||
@Target(ElementType.TYPE) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface Tags { | ||
|
||
Tag[] value(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.