public final class IteratorInstance extends java.lang.Object implements java.lang.Comparable<IteratorInstance>
Constructor and Description |
---|
IteratorInstance(APIConnection apiConnection,
org.jdom.Element element) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IteratorInstance other) |
void |
delete() |
boolean |
equals(java.lang.Object o) |
java.util.Collection<Iteration> |
getAllIterations() |
int |
getCompletedCount() |
java.util.Collection<Iteration> |
getCompletedIterations() |
java.util.Date |
getCreationDate() |
int |
getErrorCount() |
java.util.Collection<Iteration> |
getErrorIterations() |
java.lang.String |
getId() |
Iteration |
getIterationForOffset(int offset) |
Iterator |
getIterator() |
java.lang.String |
getIteratorName() |
java.util.Date |
getLastUpdate() |
Iteration |
getNextIteration() |
Iteration |
getNextIteration(java.lang.Integer port,
java.lang.String localUrl) |
java.lang.String |
getNote() |
Iteration |
getRandomIteration() |
Iteration |
getRandomIteration(java.lang.Integer port,
java.lang.String localUrl) |
java.util.Collection<Iteration> |
getRemainingIterations() |
java.util.Collection<Iteration> |
getRunningIterations() |
int |
getTotalCount() |
int |
hashCode() |
boolean |
hasNext() |
boolean |
isPaused() |
boolean |
isPreloaded() |
void |
pause() |
Iteration |
peekNextIteration() |
void |
resume() |
void |
rollback(java.util.Date toDate) |
void |
rollback(java.lang.String amount) |
(package private) void |
setIterator(Iterator iterator) |
void |
setPreloaded() |
IteratorInstance(APIConnection apiConnection, @NotNull org.jdom.Element element)
public boolean isPreloaded()
public void setPreloaded()
void setIterator(Iterator iterator)
@Nullable public java.lang.String getIteratorName()
public void delete()
public boolean hasNext()
public void rollback(java.lang.String amount)
public void rollback(java.util.Date toDate)
public void pause()
public void resume()
@Nullable public Iteration getNextIteration(java.lang.Integer port, java.lang.String localUrl)
@Nullable public Iteration getRandomIteration(java.lang.Integer port, java.lang.String localUrl)
public java.util.Collection<Iteration> getAllIterations()
public java.util.Collection<Iteration> getErrorIterations()
public java.util.Collection<Iteration> getCompletedIterations()
public java.util.Collection<Iteration> getRemainingIterations()
public java.util.Collection<Iteration> getRunningIterations()
@Nullable public java.lang.String getId()
@Nullable public java.lang.String getNote()
public java.util.Date getCreationDate()
public boolean isPaused()
public java.util.Date getLastUpdate()
public int getCompletedCount()
public int getErrorCount()
public int getTotalCount()
public int compareTo(IteratorInstance other)
compareTo
in interface java.lang.Comparable<IteratorInstance>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object