Skip to content

Commit

Permalink
Attach Javadocs to jar and fix warnings in some doc blocks (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
eocantu committed Oct 29, 2019
1 parent 9abe159 commit 3f69369
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,19 @@
<target>${java.target.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public class Resilience4jBundle<T> implements ConfiguredBundle<T> {

/**
* Create a new bundle
*
* @param resilienceConfiguratorFunction Function to extract the Resilience4j configuration from the dropwizard configuration
*/
public Resilience4jBundle(@NonNull Function<T, Resilience4jConfiguration> resilienceConfiguratorFunction) {
this(resilienceConfiguratorFunction,
Expand All @@ -61,7 +63,9 @@ public Resilience4jBundle(@NonNull Function<T, Resilience4jConfiguration> resili
/**
* Create a new bundle, with a function for modifying CircuitBreaker configurations
*
* @param resilienceConfiguratorFunction Function to extract the Resilience4j configuration from the dropwizard configuration
* @param circuitBreakerConfigurator A function that will be passed the name and builder for each circuit breaker before it is created
* @param retryConfigurator A function that will be passed the name and builder for each retryer
*/
public Resilience4jBundle(@NonNull Function<T, Resilience4jConfiguration> resilienceConfiguratorFunction,
@NonNull BiConsumer<String, CircuitBreakerConfig.Builder> circuitBreakerConfigurator,
Expand Down

0 comments on commit 3f69369

Please sign in to comment.