org.gcube.data.harmonization.occurrence.impl.readers
Class StreamProgress

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.impl.readers.StreamProgress

public class StreamProgress
extends Object


Nested Class Summary
static class StreamProgress.OperationState
           
 
Constructor Summary
StreamProgress()
           
 
Method Summary
 long getElaboratedLenght()
           
 String getFailureDetails()
           
 String getFailureReason()
           
 StreamProgress.OperationState getState()
           
 long getTotalLenght()
           
 void setElaboratedLenght(long elaboratedLenght)
           
 void setFailureDetails(String failureDetails)
           
 void setFailureReason(String failureReason)
           
 void setState(StreamProgress.OperationState state)
           
 void setTotalLenght(long totalLenght)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamProgress

public StreamProgress()
Method Detail

getTotalLenght

public long getTotalLenght()
Returns:
the totalLenght

setTotalLenght

public void setTotalLenght(long totalLenght)
Parameters:
totalLenght - the totalLenght to set

getElaboratedLenght

public long getElaboratedLenght()
Returns:
the elaboratedLenght

setElaboratedLenght

public void setElaboratedLenght(long elaboratedLenght)
Parameters:
elaboratedLenght - the elaboratedLenght to set

getState

public StreamProgress.OperationState getState()
Returns:
the state

setState

public void setState(StreamProgress.OperationState state)
Parameters:
state - the state to set

getFailureReason

public String getFailureReason()
Returns:
the failureReason

setFailureReason

public void setFailureReason(String failureReason)
Parameters:
failureReason - the failureReason to set

getFailureDetails

public String getFailureDetails()
Returns:
the failureDetails

setFailureDetails

public void setFailureDetails(String failureDetails)
Parameters:
failureDetails - the failureDetails to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.