@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class UpdateSite.WarningVersionRange extends Object
Warning
s indicates which versions of a given plugin are affected
by it.
name
, firstVersion
and lastVersion
fields are only used for administrator notices.
The pattern
is used to determine whether a given warning applies to the current installation.Modifier and Type | Field and 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 and Description |
---|
WarningVersionRange(net.sf.json.JSONObject o) |
@Nullable public final String name
@Nullable public final String firstVersion
@Nullable public final String lastVersion
public boolean includes(VersionNumber number)
Copyright © 2004–2021. All rights reserved.