org.edg.security.voms.request
Class Request.TimedOutState

java.lang.Object
  |
  +--org.edg.security.voms.request.Request.State
        |
        +--org.edg.security.voms.request.Request.TimedOutState
Enclosing class:
Request

public class Request.TimedOutState
extends Request.State

The standard state of a request that has timed out. An incomplete request may get a TimeoutEvent if it does not receive events for a predefined amount of time (usually several days).

TimedOutState is a complete state; it does not accept any events.


Constructor Summary
Request.TimedOutState()
           
 
Method Summary
 java.lang.String getDescription()
          Return a description of this state.
 java.lang.String getName()
          Return the short name of this state.
 boolean isComplete()
          Return true if the request is complete, i.e. if no more state transitions are expected.
 
Methods inherited from class org.edg.security.voms.request.Request.State
getAcceptedEvents, processEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request.TimedOutState

public Request.TimedOutState()
Method Detail

getName

public java.lang.String getName()
Description copied from class: Request.State
Return the short name of this state. The short name is a short description of the state, in English. It is presented to the user and also used in the database to filter a search to requests with a given state. Please capitalize the first letter, and don't use more than two words.

It is not an error to have two different State classes with the same name, although this is usually not desirable.

Specified by:
getName in class Request.State

getDescription

public java.lang.String getDescription()
Description copied from class: Request.State
Return a description of this state. This is presented to the user as an explanation of the current status of the request. It should be a complete English sentence, with a punctuation point at the end.

It is not an error to have two different State classes with the same description.

Specified by:
getDescription in class Request.State

isComplete

public boolean isComplete()
Description copied from class: Request.State
Return true if the request is complete, i.e. if no more state transitions are expected.

Specified by:
isComplete in class Request.State