public class ServerList extends Object implements Serializable
The ServerList contains a list of ServerInfo objects.
An ServerList is returned by the AdminSession.getServerList () method.
Constructor and Description |
---|
ServerList()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addServerInfo(RAPServerInfo srvinf)
Add a server information object to the list.
|
void |
clearList()
Clear all server information objects from the list
|
RAPServerInfo |
getServerInfo(int idx)
Get a server information object from the list
|
int |
NumberOfServers()
Get the number of servers in the list
|
public final void addServerInfo(RAPServerInfo srvinf)
srvinf
- ServerInfo to add to the list.public final void clearList()
public final RAPServerInfo getServerInfo(int idx) throws ArrayIndexOutOfBoundsException
idx
- Index of the server information to returnArrayIndexOutOfBoundsException
- If the index is invalidpublic final int NumberOfServers()
Copyright © 2005–2017 Alfresco Software. All rights reserved.