public class Recovery extends Object implements JCAMetadata, ValidatableMetadata
Modifier and Type | Class and Description |
---|---|
static class |
Recovery.Attribute
A Attribute.
|
static class |
Recovery.Tag
A Tag.
|
Constructor and Description |
---|
Recovery(Credential credential,
Extension recoverPlugin,
Boolean noRecovery)
Create a new Recovery.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Credential |
getCredential()
Get the security.
|
Boolean |
getNoRecovery()
Get the noRecovery.
|
Extension |
getRecoverPlugin()
Get the plugin.
|
int |
hashCode() |
String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
public Recovery(Credential credential, Extension recoverPlugin, Boolean noRecovery) throws ValidateException
credential
- credentialrecoverPlugin
- pluginnoRecovery
- niRecoveryValidateException
- in case of not valid metadata creationpublic final Credential getCredential()
public final Extension getRecoverPlugin()
public final Boolean getNoRecovery()
public void validate() throws ValidateException
ValidatableMetadata
validate
in interface ValidatableMetadata
ValidateException
- in case of validation failCopyright © 2021 JBoss by Red Hat. All rights reserved.