org.jmonks.batch.framework.management
Class ProcessorState

java.lang.Object
  extended byorg.jmonks.batch.framework.management.ProcessorState

public class ProcessorState
extends java.lang.Object

This represents the state of the processor(thread) running under the controller. This gives the information like processor ID, description and processing information.

Since:
1.0
Version:
1.0
Author:
Suresh pragada

Constructor Summary
ProcessorState(java.lang.String processorID, java.lang.String processorDescription, java.lang.Object processingInfo)
          Constructor initializes the object.
 
Method Summary
 java.lang.Object getProcessingInfo()
          Returns the processor processing information.
 java.lang.String getProcessorDescription()
          Returns the processor description.
 java.lang.String getProcessorID()
          Returns the processor ID.
 java.lang.String toString()
           Returns the string representation of ProcessorState class in the format
{ProcessorState [ID = value] [desc = value] [processingInfo = value]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessorState

public ProcessorState(java.lang.String processorID,
                      java.lang.String processorDescription,
                      java.lang.Object processingInfo)
Constructor initializes the object.

Method Detail

getProcessorID

public java.lang.String getProcessorID()
Returns the processor ID.


getProcessorDescription

public java.lang.String getProcessorDescription()
Returns the processor description.


getProcessingInfo

public java.lang.Object getProcessingInfo()
Returns the processor processing information.


toString

public java.lang.String toString()

Returns the string representation of ProcessorState class in the format
{ProcessorState [ID = value] [desc = value] [processingInfo = value]}

Returns:
Returns the string representation of ProcessorState.