FeatureMetadata
public class FeatureMetadata : Hashable
Metadata describing a single feature.
The Flint
object makes this metadata available for runtime examination of the Features and actions available.
The FlintUI FeatureBrowserFeature
takes advantage of this to provide a hierarchical UI to look at the
graph of features and actions defined in the app.
-
Undocumented
Declaration
Swift
public let feature: FeatureDefinition.Type
-
Undocumented
Declaration
Swift
public private(set) var actions: [ActionMetadata]
-
Undocumented
Declaration
Swift
public private(set) var publishedActions: [ActionMetadata]
-
Undocumented
Declaration
Swift
public internal(set) var productsRequired: Set<Product>
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
-
Undocumented
Declaration
Swift
public func actionMetadata<ActionType>(action: ActionType.Type) -> ActionMetadata?
-
Declaration
Swift
public static func == (lhs: FeatureMetadata, rhs: FeatureMetadata) -> Bool