public class ActiveAgentsListModel extends ClientActivityListModel<ClientContext,AsyncAgent>
Agent
instances of async agents which the client is
currently executing on the server.Constructor and Description |
---|
ActiveAgentsListModel(ClientContext clientCtx) |
Modifier and Type | Method and Description |
---|---|
void |
addAgent(AsyncAgent agent) |
boolean |
cancel(int index) |
boolean |
cancelAgentByName(java.lang.String agentName,
SessionId killerId) |
boolean |
cancelAll() |
AsyncAgent |
findAgentById(AgentId id) |
AsyncAgent |
getAgent(int index) |
AgentId |
getAgentId(int index) |
IconKey |
getTypeIcon() |
NlsKey |
getTypeName() |
void |
initListModel() |
void |
removeAgentById(AgentId agentId) |
getClientContext
getApplicationContext, hasCancellableTasks, isCurrentlyCancellable
addItem, addItem, addItems, addItems, clear, fireContentsChanged, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getAllItems, getComparator, getElementAt, getFirstItem, getItem, getItem, getItemCount, getLastItem, getModifyFlag, isModified, isNumb, isSortAscending, load, loadFrom, loadFrom, removeItem, removeItem, replaceItem, replaceOrAddItem, setComparator, setItem, setModified, setModifyFlag, setNumb, setSortAscending
add, addElement, capacity, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
public ActiveAgentsListModel(ClientContext clientCtx)
public void initListModel()
initListModel
in class ClientActivityListModel<ClientContext,AsyncAgent>
public NlsKey getTypeName()
getTypeName
in class ActivityListModel<ClientContext,AsyncAgent>
public IconKey getTypeIcon()
getTypeIcon
in class ActivityListModel<ClientContext,AsyncAgent>
public AsyncAgent findAgentById(AgentId id)
public boolean cancelAgentByName(java.lang.String agentName, SessionId killerId)
public boolean cancel(int index)
cancel
in class ActivityListModel<ClientContext,AsyncAgent>
public boolean cancelAll()
cancelAll
in class ActivityListModel<ClientContext,AsyncAgent>
public AgentId getAgentId(int index)
public AsyncAgent getAgent(int index)
public void addAgent(AsyncAgent agent)
public void removeAgentById(AgentId agentId)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.