com.ibm.ram.policy
Class Policy.CustomReturnCode

java.lang.Object
  extended by com.ibm.ram.policy.Policy.CustomReturnCode
Enclosing class:
Policy

public static final class Policy.CustomReturnCode
extends java.lang.Object

Policy writers use this class to map custom return codes to a description. Custom return codes can be used to configure the actions to be taken after a policy has run.

Since:
7.2

Constructor Summary
Policy.CustomReturnCode(java.lang.String id, java.lang.String description)
          Constructor for CustomReturnCode
 
Method Summary
 java.lang.String getDescription()
          Get the description of the CustomReturnCode
 java.lang.String getID()
          Return the unique identifier for the CustomReturnCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Policy.CustomReturnCode

public Policy.CustomReturnCode(java.lang.String id,
                               java.lang.String description)
Constructor for CustomReturnCode

Parameters:
id - The id of the CustomReturnCode
description - The description of the CustomReturnCode
Since:
7.2
Method Detail

getID

public java.lang.String getID()
Return the unique identifier for the CustomReturnCode

Returns:
The unique identifier
Since:
7.2

getDescription

public java.lang.String getDescription()
Get the description of the CustomReturnCode

Returns:
A description of the CustomReturnCode
Since:
7.2