org.alfresco.repo.action.script
Class ScriptExecutionDetails

java.lang.Object
  extended by org.alfresco.repo.action.script.ScriptExecutionDetails
All Implemented Interfaces:
java.io.Serializable, Scopeable

public final class ScriptExecutionDetails
extends java.lang.Object
implements java.io.Serializable, Scopeable

ExecutionDetails JavaScript Object. This class is a JavaScript-friendly wrapper for the ExecutionDetails (and embeded ExecutionSummary) class.

See Also:
ExecutionDetails, Serialized Form

Constructor Summary
ScriptExecutionDetails(ExecutionDetails details, ServiceRegistry services)
           
 
Method Summary
 java.lang.String getActionId()
           
 java.lang.String getActionType()
           
protected  ExecutionDetails getExecutionDetails()
           
 int getExecutionInstance()
           
 ScriptNode getPersistedActionRef()
           
 java.lang.String getRunningOn()
           
 java.util.Date getStartedAt()
           
 boolean isCancelRequested()
           
 void setScope(org.mozilla.javascript.Scriptable scope)
          Set the Scriptable global scope
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptExecutionDetails

public ScriptExecutionDetails(ExecutionDetails details,
                              ServiceRegistry services)
Method Detail

getExecutionDetails

protected ExecutionDetails getExecutionDetails()

getActionType

public java.lang.String getActionType()

getActionId

public java.lang.String getActionId()

getExecutionInstance

public int getExecutionInstance()

getPersistedActionRef

public ScriptNode getPersistedActionRef()

getRunningOn

public java.lang.String getRunningOn()

getStartedAt

public java.util.Date getStartedAt()

isCancelRequested

public boolean isCancelRequested()

setScope

public void setScope(org.mozilla.javascript.Scriptable scope)
Description copied from interface: Scopeable
Set the Scriptable global scope

Specified by:
setScope in interface Scopeable
See Also:
Scopeable.setScope(org.mozilla.javascript.Scriptable)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.