public static class PlaceholderBean.PlaceHolder extends Object implements Serializable, Comparable<PlaceholderBean.PlaceHolder>
Constructor and Description |
---|
PlaceHolder(String name,
EPlaceholderType type,
String alias,
String placeholder,
String text,
String icon,
boolean empty) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PlaceholderBean.PlaceHolder other) |
static PlaceholderBean.PlaceHolder |
empty(EPlaceholderType type) |
String |
getAlias() |
String |
getDetailedDescription(Locale locale) |
String |
getIcon() |
String |
getName() |
String |
getPlaceholder() |
String |
getShortDescription(Locale locale) |
String |
getText() |
EPlaceholderType |
getType() |
boolean |
isEmpty() |
static PlaceholderBean.PlaceHolder |
normal(String name,
EPlaceholderType type,
String alias,
String placeholder,
String text,
String icon) |
public String getName()
CLIENT_ID
.public EPlaceholderType getType()
SYSTEM
.public String getAlias()
public String getPlaceholder()
$$CLIENT_ID
.public boolean isEmpty()
public String getText()
public String getShortDescription(Locale locale)
locale
- Current locale.public String getDetailedDescription(Locale locale)
locale
- Current locale.public String getIcon()
public static PlaceholderBean.PlaceHolder normal(String name, EPlaceholderType type, String alias, String placeholder, String text, String icon)
public static PlaceholderBean.PlaceHolder empty(EPlaceholderType type)
public int compareTo(PlaceholderBean.PlaceHolder other)
compareTo
in interface Comparable<PlaceholderBean.PlaceHolder>
other
- Other placeholder to which to compare this placeholder.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.