|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.validation.DescriptorValidator
public final class DescriptorValidator
A simple validator that given a descriptor and a schema will check that the permissions set in the plugin are valid and all required have been asked.
| Nested Class Summary | |
|---|---|
static class |
DescriptorValidator.ValidationError
|
static class |
DescriptorValidator.ValidationSuccess
|
| Constructor Summary | |
|---|---|
DescriptorValidator(com.google.common.io.InputSupplier<? extends java.io.Reader> descriptor,
com.google.common.io.InputSupplier<? extends java.io.Reader> schema,
java.util.Set<Application> applications)
|
|
| Method Summary | |
|---|---|
com.atlassian.fugue.Either<DescriptorValidator.ValidationError,DescriptorValidator.ValidationSuccess> |
validate(InstallationMode installationMode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorValidator(com.google.common.io.InputSupplier<? extends java.io.Reader> descriptor,
com.google.common.io.InputSupplier<? extends java.io.Reader> schema,
java.util.Set<Application> applications)
| Method Detail |
|---|
public com.atlassian.fugue.Either<DescriptorValidator.ValidationError,DescriptorValidator.ValidationSuccess> validate(InstallationMode installationMode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||