Interface EnvironmentalContext
-
- All Known Implementing Classes:
BasicEnvironmentalContext
public interface EnvironmentalContextEnvironmentalContext determines if a set of environment attributes match a specific context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()java.lang.StringgetValue()java.util.regex.PatterngetValuePattern()booleanisValid()booleanmatches(java.util.Set<Attribute> environment)
-
-
-
Method Detail
-
matches
boolean matches(java.util.Set<Attribute> environment)
- Parameters:
environment- environment- Returns:
- true if the context matches the input environment
-
isValid
boolean isValid()
- Returns:
- true if the context definition is valid
-
getKey
java.lang.String getKey()
-
getValue
java.lang.String getValue()
-
getValuePattern
java.util.regex.Pattern getValuePattern()
-
-