org.sonar.server.ui
Class ViewProxy<V extends View>

java.lang.Object
  extended by org.sonar.server.ui.ViewProxy<V>
All Implemented Interfaces:
Comparable<ViewProxy>

public class ViewProxy<V extends View>
extends Object
implements Comparable<ViewProxy>


Constructor Summary
ViewProxy(V view)
           
 
Method Summary
 int compareTo(ViewProxy other)
           
 boolean equals(Object obj)
           
 String[] getDefaultTabForMetrics()
           
 String getDescription()
           
 String getId()
           
 String[] getResourceLanguages()
           
 String[] getResourceQualifiers()
           
 String[] getResourceScopes()
           
 String[] getSections()
           
 V getTarget()
           
 String getTitle()
           
 String[] getUserRoles()
           
 String[] getWidgetCategories()
           
 WidgetLayoutType getWidgetLayout()
           
 Collection<WidgetProperty> getWidgetProperties()
           
 WidgetProperty getWidgetProperty(String propertyKey)
           
 int hashCode()
           
 boolean hasRequiredProperties()
           
 boolean isDefaultTab()
           
 boolean isEditable()
           
 boolean isGwt()
           
 boolean isWidget()
           
 boolean supportsMetric(String metricKey)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewProxy

public ViewProxy(V view)
Method Detail

getTarget

public V getTarget()

getId

public String getId()

getTitle

public String getTitle()

getDescription

public String getDescription()

getWidgetProperties

public Collection<WidgetProperty> getWidgetProperties()

getWidgetProperty

public WidgetProperty getWidgetProperty(String propertyKey)

getWidgetCategories

public String[] getWidgetCategories()

getSections

public String[] getSections()

getUserRoles

public String[] getUserRoles()

getResourceScopes

public String[] getResourceScopes()

getResourceQualifiers

public String[] getResourceQualifiers()

getResourceLanguages

public String[] getResourceLanguages()

isDefaultTab

public boolean isDefaultTab()

getDefaultTabForMetrics

public String[] getDefaultTabForMetrics()

supportsMetric

public boolean supportsMetric(String metricKey)

isWidget

public boolean isWidget()

isGwt

public boolean isGwt()

getWidgetLayout

public WidgetLayoutType getWidgetLayout()

isEditable

public boolean isEditable()

hasRequiredProperties

public boolean hasRequiredProperties()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(ViewProxy other)
Specified by:
compareTo in interface Comparable<ViewProxy>


Copyright © 2009-2012 SonarSource. All Rights Reserved.