public class TargetImpl extends TargetInfoImpl implements Target
deprecated, description, downloadLink, enabled, endOfAvailability, fastTrack, id, isDefault, label, name, overridden, refVersion, releaseDate, restricted, status, trial, types, version
Modifier | Constructor and Description |
---|---|
protected |
TargetImpl() |
|
TargetImpl(String id) |
|
TargetImpl(String id,
String name,
String version,
String refVersion,
String label) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAfterVersion(String version)
Returns true if this target reference version is or is after given version.
|
boolean |
isAfterVersion(Target version)
Returns true if this target reference version is or is after given version.
|
boolean |
isStrictlyBeforeVersion(String version)
Returns true if this target reference version is strictly before given version.
|
boolean |
isStrictlyBeforeVersion(Target version)
Returns true if this target reference version is strictly before given version.
|
boolean |
isVersion(String version)
Returns true if this target reference version matches given version.
|
boolean |
isVersion(Target version)
Returns true if this target reference version matches given version.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getDownloadLink, getEndOfAvailability, getId, getLabel, getName, getRefVersion, getReleaseDate, getStatus, getTypes, getVersion, isDefault, isDeprecated, isEnabled, isFastTrack, isOverridden, isRestricted, isTrial, matchesType
protected TargetImpl()
public TargetImpl(String id)
public boolean isAfterVersion(String version)
Target
isAfterVersion
in interface Target
public boolean isStrictlyBeforeVersion(String version)
Target
isStrictlyBeforeVersion
in interface Target
public boolean isVersion(String version)
Target
public boolean isStrictlyBeforeVersion(Target version)
Target
isStrictlyBeforeVersion
in interface Target
public boolean isAfterVersion(Target version)
Target
isAfterVersion
in interface Target
Copyright © 2018 Nuxeo. All rights reserved.