Package edu.uiuc.ncsa.security.installer
Class Versions
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<String,VersionEntry>
- 
- edu.uiuc.ncsa.security.installer.Versions
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,VersionEntry>
 
 public class Versions extends HashMap<String,VersionEntry> Created by Jeff Gaynor 
 on 6/16/24 at 6:40 AM- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 
- 
 - 
Constructor SummaryConstructors Constructor Description Versions()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionEntrygetLatestVE()This returns theVersionEntrythat the "latest" name points to.StringgetLatestVersionName()The name of the configuration that latest points to.StringgetLatestVersionResource()Gets the resource set as the latest version.voidput(VersionEntry ve)- 
Methods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
 - 
Methods inherited from class java.util.AbstractMapequals, hashCode, toString
 
- 
 
- 
- 
- 
Method Detail- 
putpublic void put(VersionEntry ve) 
 - 
getLatestVEpublic VersionEntry getLatestVE() This returns theVersionEntrythat the "latest" name points to.- Returns:
 
 - 
getLatestVersionResourcepublic String getLatestVersionResource() Gets the resource set as the latest version. See comment ingetLatestVersionName().- Returns:
 
 - 
getLatestVersionNamepublic String getLatestVersionName() The name of the configuration that latest points to. So e.g. latest has resource /foo and /foo has name "version 5.2".getLatestVersionResource()returns "/foo" andgetLatestVersionName()returns "version 5.2".- Returns:
 
 
- 
 
-