public class STGroupValidator extends AbstractValidator
| Constructor and Description |
|---|
STGroupValidator(STGroup stg,
Map<String,Set<String>> expectedChunks)
Returns a new STGroup validator.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
GET_STG_NAME(STGroup stg)
Returns the name of the STGroup.
|
STGroup |
getInfo()
Returns the information object that is validated.
|
Map<String,Set<String>> |
getOriginal()
Returns the original object used to create the validation object.
|
protected void |
validate(STGroup stg,
Map<String,Set<String>> expectedChunks)
Does the actual validation of the STGroup.
|
getValidationErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidprotected void validate(STGroup stg,
Map<String,Set<String>> expectedChunks)
stg - the STGroup to validateexpectedChunks - the expected chunks (methods and their arguments) to validate againstpublic STGroup getInfo()
InfoValidatorpublic Map<String,Set<String>> getOriginal()
InfoValidatorpublic static final String GET_STG_NAME(STGroup stg)
stg - STGroupCopyright © 2010–2017. All rights reserved.