doc.com.rallydev.rest.util.Fetch.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rally-rest-api Show documentation
Show all versions of rally-rest-api Show documentation
A java toolkit for interacting with the Rally Rest API
The newest version!
Fetch (Rally Rest API for Java 2.2)
com.rallydev.rest.util
Class Fetch
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<String>
-
- com.rallydev.rest.util.Fetch
-
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess
public class Fetch
extends ArrayList<String>
Represents a list of fields to be returned in responses from the WSAPI.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description
Fetch(String... fetch)
Create a new fetch with the specified fields.
-
Method Summary
Methods
Modifier and Type
Method and Description
String
toString()
Get the comma separated list of fields to be returned.
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractList
equals, hashCode
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from interface java.util.List
containsAll, equals, hashCode
-
-
Constructor Detail
-
Fetch
public Fetch(String... fetch)
Create a new fetch with the specified fields.
- Parameters:
fetch
- one or more fields to be returned
-
Method Detail
-
toString
public String toString()
Get the comma separated list of fields to be returned.
If the list is empty true will be returned.
- Overrides:
toString
in class AbstractCollection<String>
- Returns:
- the comma separated list of fields to be returned
© 2015 - 2025 Weber Informatics LLC | Privacy Policy