7.0 Action Request System Java API

com.remedy.arsys.api
Class ActiveLinkMacroInfo

java.lang.Object
  extended bycom.remedy.arsys.api.ActiveLinkMacroInfo
All Implemented Interfaces:
java.lang.Cloneable

public class ActiveLinkMacroInfo
extends java.lang.Object
implements java.lang.Cloneable

The 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 Summary
ActiveLinkMacroInfo()
          constructor
ActiveLinkMacroInfo(java.lang.String macroName, java.lang.String macroText, MacroParmInfo[] macroParms)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 NameID getMacroName()
          Returns name of the macro.
 MacroParmInfo[] getMacroParms()
          Returns an array of MacroParmInfo objects.
 java.lang.String getMacroText()
          Returns macro text.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setMacroName(NameID macroName)
          Sets name of the macro.
 void setMacroParms(MacroParmInfo[] macroParms)
          Sets parameter information.
 void setMacroText(java.lang.String macroText)
          Sets macro text.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveLinkMacroInfo

public ActiveLinkMacroInfo()
constructor


ActiveLinkMacroInfo

public ActiveLinkMacroInfo(java.lang.String macroName,
                           java.lang.String macroText,
                           MacroParmInfo[] macroParms)
Method Detail

getMacroName

public NameID getMacroName()
Returns name of the macro.


setMacroName

public void setMacroName(NameID macroName)
Sets name of the macro.


getMacroText

public java.lang.String getMacroText()
Returns macro text.


setMacroText

public void setMacroText(java.lang.String macroText)
Sets macro text.


getMacroParms

public MacroParmInfo[] getMacroParms()
Returns an array of MacroParmInfo objects.


setMacroParms

public void setMacroParms(MacroParmInfo[] macroParms)
Sets parameter information.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true only if the argument is not null, is of same type and represents the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API