public class StoryElementTypeConstraint extends Constraint
mErrorMessage
Constructor and Description |
---|
StoryElementTypeConstraint(String pErrorMessage,
Set<String> pAllowedStoryElementTypes)
Creates a new Constraint for checking a allowed story element types
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllowedStoryElementTypes() |
boolean |
isValid(Object pValue)
Check if the given story element type is allowed.
|
describeError, equals, hashCode, toString
public boolean isValid(Object pValue)
isValid
in class Constraint
pValue
- the story element type. May be null
.© 1998- 2018 Stibo DX