Package com.microstrategy.web.objects
Interface WebClusterProjectInfoCollection
- 
public interface WebClusterProjectInfoCollectionDefines generic functionality for a collection ofWebClusterProjectInfoobjects.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebClusterProjectInfoget(int index)Returns the project info object with the given index from the collection.booleanisEmpty()Returns true if the collection is empty, false if it contains one or more projects.WebClusterProjectInfoitemByProject(WebProjectInstance instance)Returns the project info object for the provided project, if one exists.intsize()Returns the number of projects within the collection. 
 - 
 
- 
- 
Method Detail
- 
size
int size()
Returns the number of projects within the collection.- Returns:
 - The size of the project collection.
 
 
- 
isEmpty
boolean isEmpty()
Returns true if the collection is empty, false if it contains one or more projects.- Returns:
 - A boolean value indicating whether the collection is empty.
 
 
- 
get
WebClusterProjectInfo get(int index) throws java.lang.IndexOutOfBoundsException
Returns the project info object with the given index from the collection.- Returns:
 - A 
WebClusterProjectInfoobject contained at the given index in the collection. - Throws:
 java.lang.IndexOutOfBoundsException- Thrown if the index could not be found in the collection.
 
- 
itemByProject
WebClusterProjectInfo itemByProject(WebProjectInstance instance) throws java.lang.IllegalArgumentException
Returns the project info object for the provided project, if one exists. Returns null otherwise- Parameters:
 instance-WebProjectInstanceassociated with the desired info object- Returns:
 WebClusterProjectInfofor provided project- Throws:
 java.lang.IllegalArgumentException
 
 - 
 
 -