public class Profiles
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Environment
or will be set based on configuration data property values.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INCLUDE_PROFILES_PROPERTY_NAME
Name of property to set to specify additionally included active profiles.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAccepted()
Return the accepted profiles.
|
java.util.List<java.lang.String> |
getActive()
Return the active profiles.
|
java.util.List<java.lang.String> |
getDefault()
Return the default profiles.
|
boolean |
isAccepted(java.lang.String profile)
Return if the given profile is active.
|
java.util.Iterator<java.lang.String> |
iterator()
Return an iterator for all
accepted profiles . |
java.lang.String |
toString() |
public static final java.lang.String INCLUDE_PROFILES_PROPERTY_NAME
public java.util.Iterator<java.lang.String> iterator()
accepted profiles
.iterator
in interface java.lang.Iterable<java.lang.String>
public java.util.List<java.lang.String> getActive()
public java.util.List<java.lang.String> getDefault()
public java.util.List<java.lang.String> getAccepted()
public boolean isAccepted(java.lang.String profile)
profile
- the profile to testpublic java.lang.String toString()
toString
in class java.lang.Object