Class AgentTabManager
- java.lang.Object
-
- com.sun.identity.console.agentconfig.AgentTabManager
-
public class AgentTabManager extends Object
Agent Tab Manager.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAttributeNames(String agentType, int tabId)Returns map of section name to a set of attribute names of a given tab.StringgetDefaultTab(String agentType)Returns default tab Id of a given agent type.static AgentTabManagergetInstance()Returns an instance of agent tab manager.ListgetSectionOrder(String agentType, String tab)Returns order of sections of a given tab.intgetTabId(String agentType, String tabName)Returns tab Id.StringgetTabName(String agentType, int tabIdx)Returns tab name.ListgetTabs(String agentType)Returns tabs of a given agent type.booleanisFirstTab(String agentType, String tab)Returnstrueif the tab is the first one.
-
-
-
Method Detail
-
getInstance
public static AgentTabManager getInstance()
Returns an instance of agent tab manager.- Returns:
- an instance of agent tab manager.
-
getAttributeNames
public Map getAttributeNames(String agentType, int tabId)
Returns map of section name to a set of attribute names of a given tab.- Parameters:
agentType- Type of agent.tabId- Tab Id.- Returns:
- map of section name to a set of attribute names of a given tab.
-
getTabs
public List getTabs(String agentType)
Returns tabs of a given agent type.- Parameters:
agentType- Type of agent.- Returns:
- tabs of a given agent type.
-
getDefaultTab
public String getDefaultTab(String agentType)
Returns default tab Id of a given agent type.- Parameters:
agentType- Type of agent.- Returns:
- default tab Id of a given agent type.
-
getSectionOrder
public List getSectionOrder(String agentType, String tab)
Returns order of sections of a given tab.- Parameters:
agentType- Type of agent.tab- Tab Id.- Returns:
- order of sections of a given agent type.
-
isFirstTab
public boolean isFirstTab(String agentType, String tab)
Returnstrueif the tab is the first one.- Parameters:
agentType- Type of agent.tab- Name of tab- Returns:
trueif the tab is the first one.
-
getTabName
public String getTabName(String agentType, int tabIdx)
Returns tab name.- Parameters:
tabIdx- Tab Id.- Returns:
- tab name.
-
-