Javadocs. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/24d18cec Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/24d18cec Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/24d18cec
Branch: refs/heads/master Commit: 24d18cec9fa53413ec94ba2ae27e0b1633b710a6 Parents: 821cd5a Author: ggregory <[email protected]> Authored: Tue Sep 1 14:53:58 2015 -0700 Committer: ggregory <[email protected]> Committed: Tue Sep 1 14:53:58 2015 -0700 ---------------------------------------------------------------------- .../logging/log4j/core/config/builder/api/ComponentBuilder.java | 1 + .../log4j/core/config/builder/api/ConfigurationBuilder.java | 5 ++++- .../core/config/builder/impl/DefaultConfigurationBuilder.java | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/24d18cec/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java index c06f064..8f51540 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ComponentBuilder.java @@ -22,6 +22,7 @@ import org.apache.logging.log4j.core.util.Builder; /** * Builds arbitrary components and is the base type for the provided components. + * @param <T> The ComponentBuilder's own type for fluent APIs */ @SuppressWarnings("rawtypes") public interface ComponentBuilder<T extends ComponentBuilder<T>> extends Builder<Component> { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/24d18cec/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder.java index de1b4cc..c2ec498 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder.java @@ -24,6 +24,7 @@ import org.apache.logging.log4j.core.util.Builder; /** * Interface for building logging configurations. + * @param <T> The Configuration type created by this builder. */ public interface ConfigurationBuilder<T extends Configuration> extends Builder<T> { @@ -117,6 +118,7 @@ public interface ConfigurationBuilder<T extends Configuration> extends Builder<T /** * Returns a builder for creating generic components. + * @param <B> ComponentBuilder target type * @param name The name of the component (may be null). * @param pluginName The Plugin type of the component. * @return A new ComponentBuilder. @@ -125,6 +127,7 @@ public interface ConfigurationBuilder<T extends Configuration> extends Builder<T /** * Returns a builder for creating generic components. + * @param <B> ComponentBuilder target type * @param name The name of the component (may be null). * @param pluginName The Plugin type of the component. * @param value The value of the component. @@ -161,7 +164,7 @@ public interface ConfigurationBuilder<T extends Configuration> extends Builder<T /** * Returns a builder for creating Layouts. - * @param type The Plugin type of the Layout. + * @param pluginName The Plugin type of the Layout. * @return A new LayoutComponentBuilder. */ LayoutComponentBuilder newLayout(String pluginName); http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/24d18cec/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java index c225a9d..f2ef2e7 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/impl/DefaultConfigurationBuilder.java @@ -36,6 +36,7 @@ import java.lang.reflect.Constructor; import java.util.List; /** + * @param <T> The BuiltConfiguration type. * */ public class DefaultConfigurationBuilder<T extends BuiltConfiguration> implements ConfigurationBuilder<T> {
