Package hudson.model
Class UpdateSite.WarningVersionRange
- java.lang.Object
-
- hudson.model.UpdateSite.WarningVersionRange
-
- Enclosing class:
- UpdateSite
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class UpdateSite.WarningVersionRange extends Object
A version range forWarnings indicates which versions of a given plugin are affected by it.name,firstVersionandlastVersionfields are only used for administrator notices. Thepatternis used to determine whether a given warning applies to the current installation.- Since:
- 2.40
-
-
Field Summary
Fields Modifier and Type Field Description StringfirstVersionFirst version in this version range to be subject to the warning.StringlastVersionLast version in this version range to be subject to the warning.StringnameHuman-readable English name for this version range, e.g.
-
Constructor Summary
Constructors Constructor Description WarningVersionRange(net.sf.json.JSONObject o)
-
-
-
Field Detail
-
name
@Nullable public final String name
Human-readable English name for this version range, e.g. 'regular', 'LTS', '2.6 line'.
-
firstVersion
@Nullable public final String firstVersion
First version in this version range to be subject to the warning.
-
lastVersion
@Nullable public final String lastVersion
Last version in this version range to be subject to the warning.
-
-
Method Detail
-
includes
public boolean includes(VersionNumber number)
-
-