Package com.enonic.xp.admin.tool
Class AdminToolDescriptor
- java.lang.Object
-
- com.enonic.xp.admin.tool.AdminToolDescriptor
-
@PublicApi public class AdminToolDescriptor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminToolDescriptor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminToolDescriptor.Buildercreate()PrincipalKeysgetAllowedPrincipals()ApplicationKeygetApplicationKey()StringgetDescription()StringgetDescriptionI18nKey()StringgetDisplayName()StringgetDisplayNameI18nKey()DescriptorKeygetKey()StringgetName()booleanisAccessAllowed(PrincipalKeys principalKeys)booleanisAppLauncherApplication()static ResourceKeytoIconResourceKey(DescriptorKey key)static ResourceKeytoResourceKey(DescriptorKey key)
-
-
-
Method Detail
-
getKey
public DescriptorKey getKey()
-
getDisplayName
public String getDisplayName()
-
getName
public final String getName()
-
getApplicationKey
public final ApplicationKey getApplicationKey()
-
getDescription
public String getDescription()
-
getDisplayNameI18nKey
public String getDisplayNameI18nKey()
-
getDescriptionI18nKey
public String getDescriptionI18nKey()
-
getAllowedPrincipals
public PrincipalKeys getAllowedPrincipals()
-
isAccessAllowed
public boolean isAccessAllowed(PrincipalKeys principalKeys)
-
isAppLauncherApplication
public boolean isAppLauncherApplication()
-
toResourceKey
public static ResourceKey toResourceKey(DescriptorKey key)
-
toIconResourceKey
public static ResourceKey toIconResourceKey(DescriptorKey key)
-
create
public static AdminToolDescriptor.Builder create()
-
-