# Interface SwiftExecutable

All Superinterfaces:
  `ComponentWithDependencies, ComponentWithExecutable, ComponentWithInstallation, ComponentWithNativeRuntime, ComponentWithObjectFiles, ComponentWithOutputs, Named, SoftwareComponent, SwiftBinary`

public interface SwiftExecutable extends SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs
An executable built from Swift source.

Since:
  4.2

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from interface Named

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Provider<RegularFile>`
  `getDebuggerExecutableFile()`
  Returns the executable file to use with a debugger for this binary.

  ### Methods inherited from interface ComponentWithDependencies

  `getDependencies`

  ### Methods inherited from interface ComponentWithExecutable

  `getExecutableFile, getExecutableFileProducer, getLinkLibraries, getLinkTask`

  ### Methods inherited from interface ComponentWithInstallation

  `getInstallDirectory, getInstallTask, getRuntimeLibraries`

  ### Methods inherited from interface ComponentWithNativeRuntime

  `getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized`

  ### Methods inherited from interface ComponentWithObjectFiles

  `getObjects`

  ### Methods inherited from interface ComponentWithOutputs

  `getOutputs`

  ### Methods inherited from interface Named

  `getName`

  ### Methods inherited from interface SwiftBinary

  `getCompileModules, getCompileTask, getLinkLibraries, getModule, getModuleFile, getRuntimeLibraries, getSwiftSource, getTargetPlatform, isTestable`

- ## Method Details

  - ### getDebuggerExecutableFile

    Provider<RegularFile> getDebuggerExecutableFile()
    Returns the executable file to use with a debugger for this binary.
    Since:
      4.5