org.oddjob.webapp.jsf
Class StateTabBean

java.lang.Object
  extended by org.oddjob.webapp.jsf.DetailBase
      extended by org.oddjob.webapp.jsf.StateTabBean

@ManagedBean(name="state")
public class StateTabBean
extends DetailBase

The backing bean that handles the state tab.

Author:
Rob Gordon.

Constructor Summary
StateTabBean()
           
 
Method Summary
 String getException()
          Getter for exception.
 String getState()
          Getter for job state.
 String getTime()
          Getter for the state time.
 void init()
          Called when the bean is created which because this is a request scope bean is at the beginning of each request that this bean is used for.
 void setException(String exception)
          Setter for the exception.
 void setJobState(String jobState)
          Setter for job state.
 void setTime(String time)
          Setter for the state time.
 
Methods inherited from class org.oddjob.webapp.jsf.DetailBase
getDetail, getJobInfoLookup, getRefId, setDetail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateTabBean

public StateTabBean()
Method Detail

init

@PostConstruct
public void init()
Called when the bean is created which because this is a request scope bean is at the beginning of each request that this bean is used for.


getException

public String getException()
Getter for exception.

Returns:
The exception string.

setException

public void setException(String exception)
Setter for the exception.

Parameters:
exception - The exception.

getTime

public String getTime()
Getter for the state time.

Returns:
The state time.

setTime

public void setTime(String time)
Setter for the state time.

Parameters:
time - The state time.

getState

public String getState()
Getter for job state.

Returns:
The job state.

setJobState

public void setJobState(String jobState)
Setter for job state.

Parameters:
jobState - The job state.