public abstract class PromoteAction extends java.lang.Object implements ActionCustomClass
Constructor and Description |
---|
PromoteAction() |
Modifier and Type | Method and Description |
---|---|
void |
applyCustomAction(MboRemote promotedMbo,
java.lang.Object[] args)
Performs the action for escalation action TLOAMPROMOTE by calling
PromoteNode#promote(PromoteValuesRemote) . |
public void applyCustomAction(MboRemote promotedMbo, java.lang.Object[] args) throws MXException, java.rmi.RemoteException
PromoteNode#promote(PromoteValuesRemote)
.applyCustomAction
in interface ActionCustomClass
mbo
- A PromoteNodeRemote objectargs
- Defaultname from TLOAMPRMDFLT table. The defaultname updateable through the UI is called
'DO_NOT_CHANGE_THIS_DPLDASSET' for computers, 'DO_NOT_CHANGE_THIS_NDASSET' for network
devices, 'DO_NOT_CHANGE_THIS_NPASSET' for network printers. Additional defaultNames may be
added to update site and related attributes for escalation points satisfying appropriate
criteria.
The MBO itself can be any deployed asset, but it is expected to match the type of defaults - therefore a filter needs to select between DEPLOYEDASSET.ASSETCLASS = (COMPUTER, NETDEVICE, NETPRINTER) in the escalation query
Exceptions logged to maximo.crontask.ESCALATION.ESCPROMOTE
MXApplicationException
- if mbo is not an instance of non-persistent promotion valuesMXApplicationException
- if anything goes wrong with action.java.rmi.RemoteException
MXException
ComputerSystem#promote(PromoteValuesRemote)}