-
- All Implemented Interfaces:
public class Alias.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final IntegerLOWEST_PRIORITYpublic final DateNEVER_EXPIREpublic final static Alias.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Aliascreate(String tag, String identity, Integer priority, Date expiry)Creates an Alias object. final Aliascreate(String tag, String identity, Integer priority)Creates an Alias object. final Aliascreate(String tag, String identity)Creates an Alias object. -
-
Method Detail
-
create
@JvmOverloads() final Alias create(String tag, String identity, Integer priority, Date expiry)
Creates an Alias object.
- Parameters:
tag- The identifier tag type (e.g.identity- The value used to identify the userpriority- The priority of the alias, where 0 is the highest and Alias.LOWEST_PRIORITY is the lowestexpiry- The expiry time and date of the alias or Alias.NEVER_EXPIRE if it never expires
-
create
@JvmOverloads() final Alias create(String tag, String identity, Integer priority)
Creates an Alias object.
- Parameters:
tag- The identifier tag type (e.g.identity- The value used to identify the userpriority- The priority of the alias, where 0 is the highest and Alias.LOWEST_PRIORITY is the lowest
-
create
@JvmOverloads() final Alias create(String tag, String identity)
Creates an Alias object.
- Parameters:
tag- The identifier tag type (e.g.identity- The value used to identify the user
-
-
-
-