STRUCT
Plugin
Contents
- Properties
nameexecutablesworkspaceMapper
- Methods
init(name:executables:workspaceMapper:)
swift
public struct Plugin: Codable, EquatableA plugin representation.
Supported plugins include:
Properties
name
swift
public let name: StringThe name of the Plugin.
executables
swift
public let executables: [ExecutablePlugin]Plugin executables files.
workspaceMapper
swift
public let workspaceMapper: WorkspaceMapperPlugin?Plugin workspace mapper.
Methods
init(name:executables:workspaceMapper:)
swift
public init(
name: String,
executables: [ExecutablePlugin] = [],
workspaceMapper: WorkspaceMapperPlugin? = nil
)Creates a new plugin.
- Parameters:
- name: The name of the plugin.
- executables: Plugin executables files.
- workspaceMapper: Plugin workspace mapper.
Parameters
| Name | Description |
|---|---|
| name | The name of the plugin. |
| executables | Plugin executables files. |
| workspaceMapper | Plugin workspace mapper. |
