public class Profile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Profile.Feature |
static interface |
Profile.PropertyResolver |
static class |
Profile.Type |
Modifier and Type | Field and Description |
---|---|
static String |
PRODUCT_NAME |
static String |
PROJECT_NAME |
Constructor and Description |
---|
Profile(Profile.PropertyResolver resolver) |
Modifier and Type | Method and Description |
---|---|
static Set<Profile.Feature> |
getDeprecatedFeatures() |
static Set<Profile.Feature> |
getDisabledFeatures() |
static Set<Profile.Feature> |
getExperimentalFeatures() |
static String |
getName() |
static Set<Profile.Feature> |
getPreviewFeatures() |
static void |
init() |
static boolean |
isFeatureEnabled(Profile.Feature feature) |
static void |
setInstance(Profile instance) |
public static final String PRODUCT_NAME
public static final String PROJECT_NAME
public Profile(Profile.PropertyResolver resolver)
public static void init()
public static void setInstance(Profile instance)
public static String getName()
public static Set<Profile.Feature> getDisabledFeatures()
public static Set<Profile.Feature> getPreviewFeatures()
public static Set<Profile.Feature> getExperimentalFeatures()
public static Set<Profile.Feature> getDeprecatedFeatures()
public static boolean isFeatureEnabled(Profile.Feature feature)
Copyright © 2021 JBoss by Red Hat. All rights reserved.