com.webhydra.slug.process
Class ProcessProgress

java.lang.Object
  extended by com.webhydra.slug.process.ProcessStatus
      extended by com.webhydra.slug.process.ProcessProgress
All Implemented Interfaces:
java.io.Serializable

public class ProcessProgress
extends ProcessStatus

Process status with progress details.

Author:
rossen
See Also:
Serialized Form

Constructor Summary
ProcessProgress(Status status, java.lang.String message, int progress)
          Creates a new instance of ProcessProgress
 
Method Summary
 int getProgress()
          Getter for property progress.
 void setProgress(int progress)
          Setter for property progress.
 
Methods inherited from class com.webhydra.slug.process.ProcessStatus
getMessage, getStatus, hasMessage, setMessage, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessProgress

public ProcessProgress(Status status,
                       java.lang.String message,
                       int progress)
Creates a new instance of ProcessProgress

Parameters:
status - current process status
message - proces message
progress - process progres
Method Detail

getProgress

public int getProgress()
Getter for property progress.

Returns:
Value of property progress.

setProgress

public void setProgress(int progress)
Setter for property progress.

Parameters:
progress - New value of property progress.