Package org.apache.hop.ui.hopgui.shared
Class AuditManagerGuiUtil
- java.lang.Object
-
- org.apache.hop.ui.hopgui.shared.AuditManagerGuiUtil
-
public class AuditManagerGuiUtil extends Object
Utility methods for conveniently storing and retrieving items, lists and so on...
-
-
Constructor Summary
Constructors Constructor Description AuditManagerGuiUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddLastUsedValue(String type, String value)static StringgetLastUsedValue(String type)Return the last used value of a certain type.static String[]getLastUsedValues(String type)Return the last used values of a certain type.static Map<String,String>getUsageMap(String type)static voidsaveUsageMap(String type, Map<String,String> map)
-
-
-
Method Detail
-
getLastUsedValue
public static final String getLastUsedValue(String type)
Return the last used value of a certain type. This method looks in the active namespace in HopGui In case there is an error it is simply logged on the UI log channel as it's not THAT important.- Parameters:
type- The type of list to query- Returns:
- The last used value or "" (empty string) if nothing could be found (or there was an error)
-
getLastUsedValues
public static final String[] getLastUsedValues(String type)
Return the last used values of a certain type. This method looks in the active namespace in HopGui In case there is an error it is simply logged on the UI log channel as it's not THAT important.- Parameters:
type- The type of list to query- Returns:
- The last used values or String[0] (empty array) if nothing could be found (or there was an error)
-
-