|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.extension.PolicyGovernor
public abstract class PolicyGovernor
This is an extension point for 3rd party and external validators.
Implementations of this interface will be instantiated using
Class.forName(className).newInstance()
Extend this class and you may add your external policy governor to drive external policy validation and enforcement.
| Field Summary | |
|---|---|
protected int |
extensionID
An ID for the extension this policy governor came from. |
| Constructor Summary | |
|---|---|
PolicyGovernor()
|
|
| Method Summary | |
|---|---|
abstract AssetPolicy[] |
getAssetPolicies()
Return a list of polices that you would like Asset Manager to run a compliance test against. |
java.lang.String |
getDescription()
Deprecated. Use getDescription(Locale) |
java.lang.String |
getDescription(java.util.Locale locale)
Get the description of the governor |
java.lang.String |
getName()
Deprecated. Use getName(Locale) |
java.lang.String |
getName(java.util.Locale locale)
Get the name of the governor |
abstract Policy |
getPolicy(java.lang.String id)
Return a single Policy by ID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int extensionID
| Constructor Detail |
|---|
public PolicyGovernor()
| Method Detail |
|---|
public java.lang.String getName()
getName(Locale)
public java.lang.String getName(java.util.Locale locale)
locale - The Locale of the user making the request.
public java.lang.String getDescription()
getDescription(Locale)
public java.lang.String getDescription(java.util.Locale locale)
locale - The Locale of the user making the request.
public abstract AssetPolicy[] getAssetPolicies()
Policies run during a review process are not enforced by RAM. It will be up to the reviewer to interpret the result and decide if the asset should be approved.
Policies run during a non review container will currently enforce results. For example a policy failing during an asset submission will move the asset to a draft state.
public abstract Policy getPolicy(java.lang.String id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||