public class ScriptCustomRole extends CustomRoleAdapter
| Constructor and Description |
|---|
ScriptCustomRole() |
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
evaluateCustomRole(MaxRole roleMbo,
MboRemote mbo)
Determines the Person or PersonGroup for a role.
|
java.lang.String[] |
evaluateToEmail(MaxRole roleMbo,
MboRemote mbo)
Automatically creates an email array from what's returned from the method
evaluateCustomRole.
|
boolean |
hasInvokedScript(java.util.Map context) |
public final boolean hasInvokedScript(java.util.Map context)
public MboRemote evaluateCustomRole(MaxRole roleMbo, MboRemote mbo) throws MXException, java.rmi.RemoteException
CustomRoleInterfaceroleMbo - This is the role which has the custom class name.mbo - The current mbo.MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] evaluateToEmail(MaxRole roleMbo, MboRemote mbo) throws MXException, java.rmi.RemoteException
CustomRoleAdapterevaluateToEmail in interface CustomRoleInterfaceevaluateToEmail in class CustomRoleAdapterroleMbo - This is the role which has the custom class name.mbo - The current mbo.MXExceptionjava.rmi.RemoteExceptionpsdi.common.role.CustomRoleInterface#evaluateToEmail(psdi.common.role.MaxRoleRemote)