com.atlassian.jira.admin
Class RenderablePropertyImpl

java.lang.Object
  extended by com.atlassian.jira.admin.RenderablePropertyImpl
All Implemented Interfaces:
RenderableProperty

@Internal
public final class RenderablePropertyImpl
extends Object
implements RenderableProperty

Implementation of RenderableProperty whose behaviour is driven by the ON_DEMAND flag.

Since:
v5.0.7

Nested Class Summary
 class RenderablePropertyImpl.Context
           
 
Method Summary
 String getDescriptionHtml()
          Returns the description HTML for this property.
 String getEditHtml(String fieldName)
          Returns the edit HTML for this renderable application property.
 String getValue()
          Returns the property value in raw format.
 String getViewHtml()
          Returns the view HTML for this renderable application property.
protected  boolean isBTF()
          Returns a boolean indicating whether JIRA is running in BTF.
protected  boolean isOnDemand()
          Returns a boolean indicating whether JIRA is running in OnDemand.
 void setValue(String value)
          Sets the property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getViewHtml

public final String getViewHtml()
Returns the view HTML for this renderable application property.

Specified by:
getViewHtml in interface RenderableProperty
Returns:
a String containing the view HTML

getEditHtml

public final String getEditHtml(String fieldName)
Returns the edit HTML for this renderable application property.

Specified by:
getEditHtml in interface RenderableProperty
Parameters:
fieldName - the field name to use in the generated HTML
Returns:
a String containing the edit HTML

getDescriptionHtml

public final String getDescriptionHtml()
Returns the description HTML for this property.

Specified by:
getDescriptionHtml in interface RenderableProperty
Returns:
a String containing the description HTML

getValue

public final String getValue()
Returns the property value in raw format.

Returns:
the property value in raw format

setValue

public final void setValue(String value)
Sets the property value.

Parameters:
value - a String containing the property value

isOnDemand

protected final boolean isOnDemand()
Returns a boolean indicating whether JIRA is running in OnDemand.

Returns:
a boolean indicating whether JIRA is running in OnDemand
See Also:
isBTF()

isBTF

protected final boolean isBTF()
Returns a boolean indicating whether JIRA is running in BTF.

Returns:
a boolean indicating whether JIRA is running in BTF
See Also:
isOnDemand()


Copyright © 2002-2012 Atlassian. All Rights Reserved.