org.wildfly.swarm.spi.api

## Interface Fraction<T extends Fraction>

- All Known Implementing Classes:
    BatchFraction, BeanValidationFraction, CamelFraction, CDIConfigFraction, CDIFraction, ConnectorFraction, ConsulTopologyFraction, DatasourcesFraction, EclipseLinkPersistenceFraction, EEFraction, EJBFraction, ElytronFraction, HealthFraction, HystrixFraction, InfinispanFraction, IOFraction, JAXRSFraction, JCAFraction, JGroupsFraction, JGroupsTopologyFraction, JMXFraction, JPAFraction, JSFFraction, KeycloakFraction, LoggingFraction, LogstashFraction, MailFraction, ManagementConsoleFraction, ManagementFraction, MessagingFraction, MicroProfileConfigFraction, MicroProfileFaultToleranceFraction, MicroProfileJWTAuthFraction, MicroprofileMetricsFraction, MonitorFraction, MSCFraction, NamingFraction, ODataFraction, RemotingFraction, RequestControllerFraction, ResourceAdapterFraction, RibbonFraction, RibbonSecuredClientFraction, RibbonSecuredFraction, ScannerFraction, SecurityFraction, SpringFraction, TeiidFraction, TopologyFraction, TopologyWebAppFraction, TransactionsFraction, UndertowFraction, WebServicesFraction

      public interface Fraction<T extends Fraction>

  Root of a tree of configuration for a particular subset of functionality.

  While each portion of functionality is called a "fraction", this class maps to the configuration there-of. It should be implemented to include whatever configuration is appropriate for the subset of functionality.

  In the event a logical "fraction" requires no configuration, a subclass of this class is not required.

  For functionality coming in through WildFly, the implementation is a sub-class of the matching WildFly subsystem configuration tree from the `wildfly-config-api` project.

  Author:
    Bob McWhirter

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default T` | `applyDefaults()` Apply whatever defaults are required if this fraction was not explicitly configured by a user.
    `default T` | `applyDefaults(boolean hasConfiguration)`

- - ### Method Detail

    - #### applyDefaults

          default T applyDefaults()

      Apply whatever defaults are required if this fraction was not explicitly configured by a user.
      Returns:
        this fraction.

    - #### applyDefaults

          default T applyDefaults(boolean hasConfiguration)

Copyright © 2017 JBoss by Red Hat. All rights reserved.