public interface Policy
Modifier and Type | Interface and Description |
---|---|
static class |
Policy.PolicyType
policy type.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the string identifier for the policy.
|
Policy |
getPolicyDependency()
Returns a policy which is a dependency of this Policy.
|
boolean |
isCompatibleWith(Policy target)
Returns whether the policy passed in parameter is compatible with this or not.
|
boolean |
supports(Policy.PolicyType type)
Returns whether the policy type passed in parameter is supported by this policy.
|
String getName()
boolean supports(Policy.PolicyType type)
type
- policy typeboolean isCompatibleWith(Policy target)
target
- policy to check compatibilityPolicy getPolicyDependency()
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.