org.objectweb.jass.as.util
Class ActionInfo

java.lang.Object
  extended byorg.objectweb.jass.as.util.ActionInfo
All Implemented Interfaces:
java.io.Serializable

public class ActionInfo
extends java.lang.Object
implements java.io.Serializable

Manages useful information about an action.

Author:
fran Date: Feb 16, 2004 org.objectweb.jass.as.utilActionInfo.java
See Also:
Serialized Form

Constructor Summary
ActionInfo(Action action, boolean global)
          Constructor
 
Method Summary
 Action getAction()
          Returns the action.
 boolean isGlobal()
          Return if the action is global.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionInfo

public ActionInfo(Action action,
                  boolean global)
Constructor

Parameters:
action - - the action.
global - - true if the corresponding action is global.
Method Detail

getAction

public Action getAction()
Returns the action.

Returns:
the action.

isGlobal

public boolean isGlobal()
Return if the action is global.

Returns:
true if is a global action.