com.flexive.shared.scripting
Class FxScriptRunInfo

java.lang.Object
  extended by com.flexive.shared.scripting.FxScriptRunInfo
All Implemented Interfaces:
java.io.Serializable

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

Information about an executed script - currently only used to track runOnce scripts ...

Version:
$Rev: 951 $
Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
FxScriptRunInfo(long startTime, java.lang.String drop, java.lang.String name)
           
 
Method Summary
 void endExecution(boolean successful)
          End execution of the script
 java.lang.String getDrop()
           
 long getEndTime()
           
 java.lang.String getErrorMessage()
           
 java.lang.String getName()
           
 long getStartTime()
           
 boolean isRunning()
          Is the script still running?
 boolean isSuccessful()
           
 void setErrorMessage(java.lang.String errorMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxScriptRunInfo

public FxScriptRunInfo(long startTime,
                       java.lang.String drop,
                       java.lang.String name)
Method Detail

endExecution

public void endExecution(boolean successful)
End execution of the script

Parameters:
successful - script executed successful?

isRunning

public boolean isRunning()
Is the script still running?

Returns:
script still running?

getStartTime

public long getStartTime()

getEndTime

public long getEndTime()

getDrop

public java.lang.String getDrop()

getName

public java.lang.String getName()

isSuccessful

public boolean isSuccessful()

getErrorMessage

public java.lang.String getErrorMessage()

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)