public class RunMacroAction extends Action implements ActiveLinkAction, Cloneable, Serializable
ActiveLinkMacroInfo
class lets you
specify a macro to run whenever the active link is
executed. The macro can perform any operation or series of operations. If the
macro contains parameters, you can specify values for those parameters,
including a value from a field in the current request.Constructor and Description |
---|
RunMacroAction()
constructor
|
RunMacroAction(String macroName,
String macroText,
Map<String,String> macroParms) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
boolean |
equals(Object obj)
Use this method for checking equality.
|
String |
getMacroName()
Returns name of the macro.
|
Map<String,String> |
getMacroParms()
Returns an array of
MacroParmInfo objects. |
String |
getMacroText()
Returns macro text.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setMacroName(String macroName)
Sets name of the macro.
|
void |
setMacroParms(Map<String,String> macroParms)
Sets parameter information.
|
void |
setMacroText(String macroText)
Sets macro text.
|
String |
toString()
Returns a string description of the object.
|
equals, getActionType
public String getMacroName()
public void setMacroName(String macroName)
public String getMacroText()
public void setMacroText(String macroText)
public Map<String,String> getMacroParms()
MacroParmInfo
objects.public Object clone() throws CloneNotSupportedException
clone
in class Action
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.