Package com.enonic.xp.admin.widget
Class WidgetDescriptor
- java.lang.Object
-
- com.enonic.xp.descriptor.Descriptor
-
- com.enonic.xp.admin.widget.WidgetDescriptor
-
@PublicApi public class WidgetDescriptor extends Descriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WidgetDescriptor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WidgetDescriptor.Builder
create()
PrincipalKeys
getAllowedPrincipals()
Map<String,String>
getConfig()
String
getDescription()
String
getDisplayName()
Icon
getIcon()
Set<String>
getInterfaces()
String
getKeyString()
String
getUrl()
boolean
hasInterface(String interfaceName)
boolean
isAccessAllowed(PrincipalKeys principalKeys)
-
Methods inherited from class com.enonic.xp.descriptor.Descriptor
getApplicationKey, getKey, getName
-
-
-
-
Method Detail
-
getUrl
public String getUrl()
-
getKeyString
public String getKeyString()
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
-
getIcon
public Icon getIcon()
-
hasInterface
public boolean hasInterface(String interfaceName)
-
getAllowedPrincipals
public PrincipalKeys getAllowedPrincipals()
-
isAccessAllowed
public boolean isAccessAllowed(PrincipalKeys principalKeys)
-
create
public static WidgetDescriptor.Builder create()
-
-