public class Namespace extends Object implements Serializable, Comparable
Modifier and Type | Field and Description |
---|---|
static Namespace |
GLOBAL |
static Namespace |
PERSONAL |
static Namespace |
SYSTEM |
static Namespace |
TEAM |
static String |
VISIBILITY_OWNER
Labels in this namespace are only visible to that label's owner
|
static String |
VISIBILITY_PUBLIC
Labels in this namespace are visible to anyone who can see the labeled content
|
static String |
VISIBILITY_SYSTEM
Labels in this namespace are set and removed by the system, and are not shown in the UI
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
static Namespace |
getNamespace(String prefix) |
String |
getPrefix() |
String |
getVisibility() |
int |
hashCode() |
static boolean |
isGlobal(Label l) |
static boolean |
isPersonal(Label l) |
static boolean |
isTeam(Label l) |
String |
toString() |
public static final String VISIBILITY_PUBLIC
public static final String VISIBILITY_OWNER
public static final String VISIBILITY_SYSTEM
public static final Namespace PERSONAL
public static final Namespace TEAM
public static final Namespace GLOBAL
public static final Namespace SYSTEM
public static boolean isPersonal(Label l)
public static boolean isTeam(Label l)
public static boolean isGlobal(Label l)
public int compareTo(Object o)
compareTo
in interface Comparable
public String getPrefix()
public String getVisibility()
Copyright © 2003–2019 Atlassian. All rights reserved.