Class ProcessStatus
- java.lang.Object
-
- com.github.toolarium.processing.unit.runtime.ProcessStatus
-
- All Implemented Interfaces:
IProcessStatus,java.io.Serializable
public class ProcessStatus extends java.lang.Object implements IProcessStatus, java.io.Serializable
Implements theIProcessStatus.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessStatus(IProcessingProgress processingProgress)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)IProcessingProgressgetProcessingProgress()Gets the processing progress.inthashCode()booleanhasNext()Defines if there is more to process.voidsetHasNext(boolean hasNext)Set has nextvoidsetProcessingProgress(IProcessingProgress processingProgress)Sets the processingProgressjava.lang.StringtoString()
-
-
-
Constructor Detail
-
ProcessStatus
public ProcessStatus(IProcessingProgress processingProgress)
Constructor- Parameters:
processingProgress- the processing progress
-
-
Method Detail
-
getProcessingProgress
public IProcessingProgress getProcessingProgress()
Description copied from interface:IProcessStatusGets the processing progress.- Specified by:
getProcessingProgressin interfaceIProcessStatus- Returns:
- the processing progress.
- See Also:
IProcessStatus.getProcessingProgress()
-
setProcessingProgress
public void setProcessingProgress(IProcessingProgress processingProgress)
Sets the processingProgress- Parameters:
processingProgress- The processing progress to set
-
hasNext
public boolean hasNext()
Description copied from interface:IProcessStatusDefines if there is more to process.- Specified by:
hasNextin interfaceIProcessStatus- Returns:
- true if it has more element; otherwise it has ended.
- See Also:
IProcessStatus.hasNext()
-
setHasNext
public void setHasNext(boolean hasNext)
Set has next- Parameters:
hasNext- true if it has more to process.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-