Class TargetPackageImpl
- java.lang.Object
-
- org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
-
- org.nuxeo.targetplatforms.api.impl.TargetImpl
-
- org.nuxeo.targetplatforms.api.impl.TargetPackageImpl
-
- All Implemented Interfaces:
Serializable
,Comparable<TargetPackage>
,Target
,TargetInfo
,TargetPackage
public class TargetPackageImpl extends TargetImpl implements TargetPackage, Comparable<TargetPackage>
- Since:
- 5.7.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
dependencies
protected TargetPackage
parent
-
Fields inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TargetPackageImpl()
TargetPackageImpl(String id, String name, String version, String refVersion, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDependency(String dependency)
int
compareTo(TargetPackage o)
List<String>
getDependencies()
Returns the list of target packages that this target package depends on.TargetPackage
getParent()
Returns the parent target package or null if there is no inheritance.void
setDependencies(List<String> dependencies)
void
setParent(TargetPackage parent)
-
Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetImpl
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
-
Methods inherited from class org.nuxeo.targetplatforms.api.impl.TargetInfoImpl
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getSimpleName, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType, setDefault, setDeprecated, setDescription, setDownloadLink, setEnabled, setEndOfAvailability, setFastTrack, setId, setLabel, setName, setOverridden, setRefVersion, setReleaseDate, setRestricted, setStatus, setTrial, setTypes, setVersion, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.targetplatforms.api.Target
isAfterVersion, isAfterVersion, isStrictlyBeforeVersion, isStrictlyBeforeVersion, isVersion, isVersion
-
Methods inherited from interface org.nuxeo.targetplatforms.api.TargetInfo
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType
-
-
-
-
Field Detail
-
parent
protected TargetPackage parent
-
-
Method Detail
-
addDependency
public void addDependency(String dependency)
-
getDependencies
public List<String> getDependencies()
Description copied from interface:TargetPackage
Returns the list of target packages that this target package depends on.- Specified by:
getDependencies
in interfaceTargetPackage
-
getParent
public TargetPackage getParent()
Description copied from interface:TargetPackage
Returns the parent target package or null if there is no inheritance.- Specified by:
getParent
in interfaceTargetPackage
-
setParent
public void setParent(TargetPackage parent)
-
compareTo
public int compareTo(TargetPackage o)
- Specified by:
compareTo
in interfaceComparable<TargetPackage>
-
-