com.ibm.ram.policy
Class PolicyEvent
java.lang.Object
com.ibm.ram.policy.PolicyEvent
public class PolicyEvent
- extends java.lang.Object
Contains an event type, such as create or update, and an Asset
- Since:
- 7.2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASSET_CREATE_EVENT
public static final int ASSET_CREATE_EVENT
Asset create event.
- Since:
- 7.2
- See Also:
- Constant Field Values
ASSET_UPDATE_EVENT
public static final int ASSET_UPDATE_EVENT
Asset update event.
- Since:
- 7.2
- See Also:
- Constant Field Values
PolicyEvent
public PolicyEvent(int eventType,
Asset asset)
- Parameters:
eventType - The type of event to perform.asset - The asset on which to perform an event.- Since:
- 7.2
getEventType
public int getEventType()
- Returns:
- The type of event to perform.
- Since:
- 7.2
getAsset
public Asset getAsset()
- Returns:
- The asset to be created/updated as part of this event.
- Since:
- 7.2