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 forWarning
s indicates which versions of a given plugin are affected by it.name
,firstVersion
andlastVersion
fields are only used for administrator notices. Thepattern
is used to determine whether a given warning applies to the current installation.- Since:
- 2.40
-
-
Field Summary
Fields Modifier and Type Field Description String
firstVersion
First version in this version range to be subject to the warning.String
lastVersion
Last version in this version range to be subject to the warning.String
name
Human-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)
-
-