com.atlassian.jira.config.util
Class ThumbnailConfiguration.PropertiesAdaptor

java.lang.Object
  extended by com.atlassian.jira.config.util.ThumbnailConfiguration.PropertiesAdaptor
All Implemented Interfaces:
ThumbnailConfiguration
Enclosing interface:
ThumbnailConfiguration

public static class ThumbnailConfiguration.PropertiesAdaptor
extends java.lang.Object
implements ThumbnailConfiguration

Implementation of ThumbnailConfiguration that uses the ApplicationProperties to get the values.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.config.util.ThumbnailConfiguration
ThumbnailConfiguration.PropertiesAdaptor
 
Constructor Summary
ThumbnailConfiguration.PropertiesAdaptor(ApplicationProperties applicationProperties)
           
 
Method Summary
 int getMaxHeight()
          Maximum height for a thumbnail
 int getMaxWidth()
          Maximum width for a thumbnail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThumbnailConfiguration.PropertiesAdaptor

public ThumbnailConfiguration.PropertiesAdaptor(ApplicationProperties applicationProperties)
Method Detail

getMaxHeight

public int getMaxHeight()
Description copied from interface: ThumbnailConfiguration
Maximum height for a thumbnail

Specified by:
getMaxHeight in interface ThumbnailConfiguration
Returns:
height in pixels.

getMaxWidth

public int getMaxWidth()
Description copied from interface: ThumbnailConfiguration
Maximum width for a thumbnail

Specified by:
getMaxWidth in interface ThumbnailConfiguration
Returns:
height in pixels.


Copyright © 2002-2010 Atlassian. All Rights Reserved.