org.glassfish.grizzly
Class ProcessorResult

java.lang.Object
  extended by org.glassfish.grizzly.ProcessorResult

public class ProcessorResult
extends Object

The interface represents the result of Processor execution.

Author:
Alexey Stashok

Nested Class Summary
static class ProcessorResult.Status
          Enum represents the status/code of ProcessorResult.
 
Constructor Summary
ProcessorResult(ProcessorResult.Status status)
           
ProcessorResult(ProcessorResult.Status status, Object description)
           
 
Method Summary
 Object getDescription()
          Get the ProcessorResult description.
 ProcessorResult.Status getStatus()
          Get the result status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorResult

public ProcessorResult(ProcessorResult.Status status)

ProcessorResult

public ProcessorResult(ProcessorResult.Status status,
                       Object description)
Method Detail

getStatus

public ProcessorResult.Status getStatus()
Get the result status.

Returns:
the result status.

getDescription

public Object getDescription()
Get the ProcessorResult description.

Returns:
the ProcessorResult description.


Copyright © 2009 SUN Microsystems. All Rights Reserved.