# Serialized Form

## Package org.apache.sling.feature

### Class org.apache.sling.feature.Artifact

class Artifact extends Object implements Serializable

serialVersionUID:
  2L

#### Serialized Fields

##### id

    ArtifactId id

The artifact id.

##### metadata

    Map<String,String> metadata

Artifact metadata.

### Class org.apache.sling.feature.ArtifactId

class ArtifactId extends Object implements Serializable

serialVersionUID:
  2L

#### Serialized Fields

##### artifactId

    String artifactId

The required artifact id.

##### classifier

    String classifier

The optional classifier.

##### groupId

    String groupId

The required group id.

##### type

    String type

The required type. Defaults to jar.

##### version

    String version

The required version.

### Class org.apache.sling.feature.Artifacts

class Artifacts extends ArrayList<Artifact> implements Serializable

serialVersionUID:
  240141452817960076L

### Class org.apache.sling.feature.Bundles

class Bundles extends Artifacts implements Serializable

serialVersionUID:
  5134067638024826299L

### Class org.apache.sling.feature.Configuration

class Configuration extends Object implements Serializable

serialVersionUID:
  2L

#### Serialized Fields

##### pid

    String pid

The pid or name for factory pids.

##### properties

    Dictionary<String,Object> properties

The ordered properties.

### Class org.apache.sling.feature.Configurations

class Configurations extends ArrayList<Configuration> implements Serializable

serialVersionUID:
  -7243822886707856704L

### Class org.apache.sling.feature.Extension

class Extension extends Object implements Serializable

serialVersionUID:
  2L

#### Serialization Methods

##### readObject

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException

Throws:
  `IOException`
  `ClassNotFoundException`

#### Serialized Fields

##### artifacts

    Artifacts artifacts

The list of artifacts (if type artifacts)

##### name

    String name

The extension name.

##### state

    ExtensionState state

Extension state.

##### text

    String text

The text or json (if corresponding type)

##### type

    ExtensionType type

The extension type

### Class org.apache.sling.feature.Extensions

class Extensions extends ArrayList<Extension> implements Serializable

serialVersionUID:
  -3850006820840607498L

### Class org.apache.sling.feature.Feature

class Feature extends Object implements Serializable

serialVersionUID:
  2L

#### Serialized Fields

##### assembled

    boolean assembled

Flag indicating whether this is an assembled feature

##### bundles

    Bundles bundles

##### capabilities

    List<org.osgi.resource.Capability> capabilities

##### categories

    List<String> categories

The optional categories

Since:
  1.9

##### completeFlag

    boolean completeFlag

Flag indicating whether this is a complete feature

##### configurations

    Configurations configurations

##### description

    String description

The optional description.

##### docURL

    String docURL

Optional document URL

Since:
  1.9

##### extensions

    Extensions extensions

##### finalFlag

    boolean finalFlag

Flag indicating whether this is a final feature

##### frameworkProperties

    org.apache.sling.feature.MapWithMetadata frameworkProperties

##### id

    ArtifactId id

##### license

    String license

The optional license.

##### location

    String location

The optional location.

##### prototype

    Prototype prototype

The optional prototype.

##### requirements

    List<MatchingRequirement> requirements

##### scmInfo

    String scmInfo

Optional scm info

Since:
  1.9

##### title

    String title

The optional title.

##### variables

    org.apache.sling.feature.MapWithMetadata variables

##### vendor

    String vendor

The optional vendor.

### Class org.apache.sling.feature.Prototype

class Prototype extends Object implements Serializable

serialVersionUID:
  2L

#### Serialized Fields

##### artifactExtensionRemovals

    Map<String,List<ArtifactId>> artifactExtensionRemovals

##### bundleRemovals

    List<ArtifactId> bundleRemovals

##### capabilityRemovals

    List<org.osgi.resource.Capability> capabilityRemovals

##### configurationRemovals

    List<String> configurationRemovals

##### extensionRemovals

    List<String> extensionRemovals

##### frameworkPropertiesRemovals

    List<String> frameworkPropertiesRemovals

##### id

    ArtifactId id

##### requirementRemovals

    List<MatchingRequirement> requirementRemovals