# Interface ComponentWithStaticLibrary

All Superinterfaces:
  `ComponentWithLinkFile, ComponentWithNativeRuntime, Named, SoftwareComponent`

All Known Subinterfaces:
  `CppStaticLibrary, SwiftStaticLibrary`

public interface ComponentWithStaticLibrary extends ComponentWithLinkFile
Represents a component that produces a static library.

Since:
  4.5

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Provider<? extends CreateStaticLibrary>`
  `getCreateTask()`
  Returns the task to create the static library.

  ### Methods inherited from interface ComponentWithLinkFile

  `getLinkFile, getLinkFileProducer`

  ### Methods inherited from interface ComponentWithNativeRuntime

  `getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized`

  ### Methods inherited from interface Named

  `getName`

- ## Method Details

  - ### getCreateTask

    Provider<? extends CreateStaticLibrary> getCreateTask()
    Returns the task to create the static library.