Class RunningAction

java.lang.Object
org.alfresco.repo.action.RunningAction

public class RunningAction extends Object
Responsible for tracking the invocation of an action.
Author:
Alex Miller
  • Constructor Details

    • RunningAction

      public RunningAction(Action action)
      Parameters:
      action - The action being run
  • Method Details

    • getActionName

      public String getActionName()
      Returns:
      The name of the action this object is tracking
    • getThread

      public String getThread()
      Returns:
      The name of thread the action is being run on
    • getId

      public UUID getId()
      Returns:
      The generated id for the action invocation
    • getElapsedTime

      public long getElapsedTime()
      Returns:
      The time since the action was started
    • setException

      public void setException(Throwable e)
      Called by the ActionServiceImpl if the action generates an exception during invocation.
    • hasError

      public boolean hasError()
      Returns:
      true, if setException was called