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
CustomRoleInterface
roleMbo
- This is the role which has the custom class name.mbo
- The current mbo.MXException
java.rmi.RemoteException
public java.lang.String[] evaluateToEmail(MaxRole roleMbo, MboRemote mbo) throws MXException, java.rmi.RemoteException
CustomRoleAdapter
evaluateToEmail
in interface CustomRoleInterface
evaluateToEmail
in class CustomRoleAdapter
roleMbo
- This is the role which has the custom class name.mbo
- The current mbo.MXException
java.rmi.RemoteException
psdi.common.role.CustomRoleInterface#evaluateToEmail(psdi.common.role.MaxRoleRemote)