Groovy Documentation

com.ace.mws.plugins
[Java] Class JobReportRequirementsList

java.lang.Object
  java.util.AbstractCollection
      java.util.AbstractList
          java.util.ArrayList
              com.ace.mws.plugins.JobReportRequirementsList
All Implemented Interfaces:
IJobReportRequirement

public class JobReportRequirementsList
extends ArrayList

A list of JobReportRequirement objects. This class also has helper methods to act on the it as if it were a JobReportRequirement. In reality these methods act on the first element in the list.

Authors:
bsaville


Constructor Summary
JobReportRequirementsList()

 
Method Summary
JobReportRequirement add()

Creates a new JobReportRequirement and adds to the list.

String getArchitecture()

{@inheritDoc}

List getFeatures()

{@inheritDoc}

JobReportRequirement getFirst()

Returns the first element of the list.

Integer getNodeCount()

{@inheritDoc}

List getNodes()

{@inheritDoc}

ReportResourceMap getResourcesPerTask()

{@inheritDoc}

Integer getTaskCount()

{@inheritDoc}

Integer getTasksPerNode()

{@inheritDoc}

void setArchitecture(String architecture)

{@inheritDoc}

void setFeatures(List features)

{@inheritDoc}

void setNodeCount(Integer nodeCount)

{@inheritDoc}

void setNodes(List nodes)

{@inheritDoc}

void setResourcesPerTask(ReportResourceMap resourcesPerTask)

{@inheritDoc}

void setTaskCount(Integer taskCount)

{@inheritDoc}

void setTasksPerNode(Integer tasksPerNode)

{@inheritDoc}

 
Methods inherited from class ArrayList
add, add, get, clone, indexOf, clear, contains, isEmpty, lastIndexOf, addAll, addAll, size, toArray, toArray, remove, remove, set, ensureCapacity, trimToSize, equals, hashCode, iterator, listIterator, listIterator, subList, toString, containsAll, removeAll, retainAll, wait, wait, wait, getClass, notify, notifyAll
 
Methods inherited from class AbstractList
add, add, get, equals, hashCode, indexOf, clear, lastIndexOf, addAll, iterator, remove, set, listIterator, listIterator, subList, toString, contains, isEmpty, addAll, size, toArray, toArray, remove, containsAll, removeAll, retainAll, wait, wait, wait, getClass, notify, notifyAll, size
 

Constructor Detail

JobReportRequirementsList

JobReportRequirementsList()


 
Method Detail

add

public JobReportRequirement add()
Creates a new JobReportRequirement and adds to the list. This element is then returned.
Returns:
A new requirement object which was added to the list.


getArchitecture

public String getArchitecture()
{@inheritDoc}


getFeatures

public List getFeatures()
{@inheritDoc}


getFirst

public JobReportRequirement getFirst()
Returns the first element of the list. Creates the element if it does not exist.
Returns:
The first element of the list.


getNodeCount

public Integer getNodeCount()
{@inheritDoc}


getNodes

public List getNodes()
{@inheritDoc}


getResourcesPerTask

public ReportResourceMap getResourcesPerTask()
{@inheritDoc}


getTaskCount

public Integer getTaskCount()
{@inheritDoc}


getTasksPerNode

public Integer getTasksPerNode()
{@inheritDoc}


setArchitecture

public void setArchitecture(String architecture)
{@inheritDoc}


setFeatures

public void setFeatures(List features)
{@inheritDoc}


setNodeCount

public void setNodeCount(Integer nodeCount)
{@inheritDoc}


setNodes

public void setNodes(List nodes)
{@inheritDoc}


setResourcesPerTask

public void setResourcesPerTask(ReportResourceMap resourcesPerTask)
{@inheritDoc}


setTaskCount

public void setTaskCount(Integer taskCount)
{@inheritDoc}


setTasksPerNode

public void setTasksPerNode(Integer tasksPerNode)
{@inheritDoc}


 

Groovy Documentation