com.atlassian.jira.web.servletcontext
Class ServletContextBoolean

java.lang.Object
  extended by com.atlassian.jira.web.servletcontext.ServletContextBoolean

public class ServletContextBoolean
extends Object

A boolean variable that is tied to the life of the current servlet context

Since:
v4.2

Constructor Summary
ServletContextBoolean(String attributeName)
          Constructs a reference that has a false value
 
Method Summary
 boolean get()
           
 void set(boolean value)
          Sets the value of the servlet context boolean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextBoolean

public ServletContextBoolean(String attributeName)
Constructs a reference that has a false value

Parameters:
attributeName - the name of the servlet context reference
Method Detail

set

public void set(boolean value)
Sets the value of the servlet context boolean

Parameters:
value - the new value of the boolean

get

public boolean get()
Returns:
the current value of the servlet context boolean


Copyright © 2002-2014 Atlassian. All Rights Reserved.