public class JobStepStatistics extends CollectionDecorator<Statistic,Statistics,JobStepStatistic>
JobStepStatistics providing relation and functional services
to Statistics
.
Constructor and Description |
---|
JobStepStatistics(HttpProxyBroker proxy,
JobStep parent) |
Modifier and Type | Method and Description |
---|---|
JobStepStatistic |
get(UUID id)
Fetches JobStepStatistic object by id.
|
JobStepStatistic |
getById(String id)
Fetches JobStepStatistic object by id.
|
List<JobStepStatistic> |
list()
Lists JobStepStatistic objects.
|
get
public JobStepStatistics(HttpProxyBroker proxy, JobStep parent)
proxy
- HttpProxyBrokerparent
- JobSteppublic List<JobStepStatistic> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Statistic,Statistics,JobStepStatistic>
JobStepStatistic
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public JobStepStatistic get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Statistic,Statistics,JobStepStatistic>
id
- entity idJobStepStatistic
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public JobStepStatistic getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<Statistic,Statistics,JobStepStatistic>
id
- entity idJobStepStatistic
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0