public class ApiExport extends Object implements Comparable<ApiExport>
Constructor and Description |
---|
ApiExport(String name)
Create a new export
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ApiExport o) |
boolean |
equals(Object obj) |
Deprecation |
getDeprecation()
Get the deprecation info
|
String |
getName()
Get the package name
|
org.apache.sling.feature.ArtifactId |
getPrevious()
Deprecated.
|
org.apache.sling.feature.ArtifactId |
getPreviousArtifactId()
Get the previous artifact id containing the previous version
|
String |
getPreviousPackageVersion()
Get the previous version of this package
|
Map<String,String> |
getProperties()
Get additional properties
|
String |
getToggle()
Get the optional toggle information
|
int |
hashCode() |
void |
setPrevious(org.apache.sling.feature.ArtifactId previous)
Deprecated.
|
void |
setPreviousArtifactId(org.apache.sling.feature.ArtifactId previous)
Set the previous artifact id
|
void |
setPreviousPackageVersion(String version)
Set the previous version of this package
|
void |
setToggle(String toggle)
Set the toggle info.
|
String |
toString() |
public ApiExport(String name)
name
- Package name for the exportpublic String getName()
public String getToggle()
null
public void setToggle(String toggle)
toggle
- The toggle infopublic String getPreviousPackageVersion()
null
public void setPreviousPackageVersion(String version)
version
- The previous version of this packagepublic org.apache.sling.feature.ArtifactId getPreviousArtifactId()
null
public void setPreviousArtifactId(org.apache.sling.feature.ArtifactId previous)
previous
- Previus artifact idpublic org.apache.sling.feature.ArtifactId getPrevious()
getPreviousArtifactId()
null
public void setPrevious(org.apache.sling.feature.ArtifactId previous)
setPreviousArtifactId(ArtifactId)
previous
- Previus versionpublic Map<String,String> getProperties()
public Deprecation getDeprecation()
public int compareTo(ApiExport o)
compareTo
in interface Comparable<ApiExport>
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.