STRUCT
PluginConfigManifest
Contents
- Properties
nameexecutablesworkspaceMapper
- Methods
init(name:executables:workspaceMapper:)plugin(name:executables:workspaceMapper:)
swift
public struct PluginConfigManifest: Codable, EquatablePlugin definition in the Config.
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
)plugin(name:executables:workspaceMapper:)
swift
public static func plugin(name: String, executables: [ExecutablePlugin] = [], workspaceMapper: WorkspaceMapperPlugin? = nil) -> SelfCreates a new plugin in Config.
- 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. |
