public class PlaceHolder extends Object implements Serializable, Comparable<PlaceHolder>
Modifier and Type | Class and Description |
---|---|
static class |
PlaceHolder.PlaceHolderBuilder |
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(PlaceHolder other) |
static 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 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 PlaceHolder normal(String name, EPlaceholderType type, String alias, String placeholder, String text, String icon)
public static PlaceHolder empty(EPlaceholderType type)
public int compareTo(PlaceHolder other)
compareTo
in interface Comparable<PlaceHolder>
other
- Other placeholder to which to compare this placeholder.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.