org.qi4j.tools.model.util

## Class DescriptorUtilities

- java.lang.Object
- - org.qi4j.tools.model.util.DescriptorUtilities

-     public class DescriptorUtilities
      extends Object

  Collection of Desciptor Utilities

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static List<ServiceDetailDescriptor>` | `findLayerAPI(LayerDetailDescriptor descriptor)` Return list of Descriptor Detail for All service interfaces which are visible for the layer
    `static List<ServiceDetailDescriptor>` | `findLayerSPI(LayerDetailDescriptor descriptor)` Return list of Descriptor Detail for all service dependencies which are not satisfied from within the layer
    `static List<CompositeMethodDetailDescriptor>` | `findMethod(CompositeDetailDescriptor descriptor)` Return Descriptor Detail
    `static List<ServiceDetailDescriptor>` | `findModule(ModuleDetailDescriptor descriptor)` Return list of Descriptor Detail for all service dependencies which are not satisfied from within the module
    `static List<ServiceDetailDescriptor>` | `findModuleAPI(ModuleDetailDescriptor descriptor)` Return list of Descriptor Detail for All service interfaces which are visible for the module
    `static Object` | `findServiceConfiguration(ServiceDetailDescriptor descriptor)` Return Descriptor Detail
    `static List<ServiceUsage>` | `findServiceUsage(ServiceDetailDescriptor descriptor)` Return list of Descriptor Detail for particular Service Usage
    `static List<CompositeMethodDetailDescriptor>` | `findState(CompositeDetailDescriptor descriptor)` Return Descriptor Detail

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### findMethod

          public static List<CompositeMethodDetailDescriptor> findMethod(CompositeDetailDescriptor descriptor)

      Return Descriptor Detail
      Parameters:
        `descriptor` - ServiceDetailDescriptor
      Returns:
        list of Descritpor Detail (never return null)

    - #### findState

          public static List<CompositeMethodDetailDescriptor> findState(CompositeDetailDescriptor descriptor)

      Return Descriptor Detail
      Parameters:
        `descriptor` - ServiceDetailDescriptor
      Returns:
        list of Descritpor Detail (never return null)

    - #### findServiceConfiguration

          public static Object findServiceConfiguration(ServiceDetailDescriptor descriptor)

      Return Descriptor Detail
      Parameters:
        `descriptor` - ServiceDetailDescriptor
      Returns:
        Descritpor Detail or null

    - #### findServiceUsage

          public static List<ServiceUsage> findServiceUsage(ServiceDetailDescriptor descriptor)

      Return list of Descriptor Detail for particular Service Usage
      Parameters:
        `descriptor` - ServiceDetailDescriptor
      Returns:
        list of service usage (never return null)

    - #### findModuleAPI

          public static List<ServiceDetailDescriptor> findModuleAPI(ModuleDetailDescriptor descriptor)

      Return list of Descriptor Detail for All service interfaces which are visible for the module
      Parameters:
        `descriptor` - ModuleDetailDescriptor
      Returns:
        list of ServiceDetailDescriptor (never return null)

    - #### findLayerAPI

          public static List<ServiceDetailDescriptor> findLayerAPI(LayerDetailDescriptor descriptor)

      Return list of Descriptor Detail for All service interfaces which are visible for the layer
      Parameters:
        `descriptor` - ModuleDetailDescriptor
      Returns:
        list of ServiceDetailDescriptor (never return null)

    - #### findModule

          public static List<ServiceDetailDescriptor> findModule(ModuleDetailDescriptor descriptor)

      Return list of Descriptor Detail for all service dependencies which are not satisfied from within the module
      Parameters:
        `descriptor` - ModuleDetailDescriptor
      Returns:
        list of ServiceDetailDescriptor (never return null)

    - #### findLayerSPI

          public static List<ServiceDetailDescriptor> findLayerSPI(LayerDetailDescriptor descriptor)

      Return list of Descriptor Detail for all service dependencies which are not satisfied from within the layer
      Parameters:
        `descriptor` - ModuleDetailDescriptor
      Returns:
        list of ServiceDetailDescriptor (never return null)