org.figure8.join.services.scripting
Class ScriptLogInfo
java.lang.Object
org.figure8.join.core.EntityObject
org.figure8.join.services.scripting.ScriptLogInfo
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class ScriptLogInfo
- extends EntityObject
This is an entity object representing information about the log
file produced by the execution of a script. These informations are
related to the entity this script has been launched for, the name and
file of the script and the log file itself.
- Version:
- $Revision: 1.2 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Constructor Summary |
ScriptLogInfo()
Creates a new instance of ScriptLogInfo. |
ScriptLogInfo(EntityObject entity,
java.lang.String logFile,
java.lang.String scriptName,
java.lang.String scriptCategory,
java.lang.String scriptFile)
Creates a new instance of ScriptLogInfo with attributes. |
ScriptLogInfo(java.lang.String logFile,
java.lang.String scriptName,
java.lang.String scriptCategory,
java.lang.String scriptFile)
Creates a new instance of ScriptLogInfo with mandatory attributes. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ScriptLogInfo
public ScriptLogInfo()
- Creates a new instance of ScriptLogInfo.
ScriptLogInfo
public ScriptLogInfo(java.lang.String logFile,
java.lang.String scriptName,
java.lang.String scriptCategory,
java.lang.String scriptFile)
- Creates a new instance of ScriptLogInfo with mandatory attributes.
- Parameters:
logFile
- The path of file corresponding to logscriptName
- The name of the executed scriptscriptCategory
- The category of the executed scriptscriptFile
- The path of file containing executed script
ScriptLogInfo
public ScriptLogInfo(EntityObject entity,
java.lang.String logFile,
java.lang.String scriptName,
java.lang.String scriptCategory,
java.lang.String scriptFile)
- Creates a new instance of ScriptLogInfo with attributes.
- Parameters:
entity
- The referenced entity objectlogFile
- The path of file corresponding to logscriptName
- The name of the executed scriptscriptCategory
- The category of the executed scriptscriptFile
- The path of file containing executed script
getCreationDate
public java.util.Date getCreationDate()
- Returns:
- The date of creation of this log
setCreationDate
public void setCreationDate(java.util.Date creationDate)
- Parameters:
creationDate
- The date of creation of this log
getEntityId
public long getEntityId()
- Returns:
- The referenced entity unique identifier
setEntityId
public void setEntityId(long entityId)
- Parameters:
entityId
- The referenced entity unique identifier
getEntityClass
public java.lang.String getEntityClass()
- Returns:
- The referenced entity class
setEntityClass
public void setEntityClass(java.lang.String entityClass)
- Parameters:
entityClass
- The referenced entity class
getLogFile
public java.lang.String getLogFile()
- Returns:
- The path of file corresponding to log
setLogFile
public void setLogFile(java.lang.String logFile)
- Parameters:
logFile
- The path of file corresponding to log
getScriptName
public java.lang.String getScriptName()
- Returns:
- The name of executed script
setScriptName
public void setScriptName(java.lang.String scriptName)
- Parameters:
scriptName
- The name of executed script
getScriptCategory
public java.lang.String getScriptCategory()
- Returns:
- The category of executed script
setScriptCategory
public void setScriptCategory(java.lang.String scriptCategory)
- Parameters:
scriptCategory
- The category of executed script
getScriptFile
public java.lang.String getScriptFile()
- Returns:
- The path of file correcponding to script
setScriptFile
public void setScriptFile(java.lang.String scriptFile)
- Parameters:
scriptFile
- The path of file correcponding to script
getExceptionMsg
public java.lang.String getExceptionMsg()
- Returns:
- The exception message if script has failed
setExceptionMsg
public void setExceptionMsg(java.lang.String exceptionMsg)
- Parameters:
exceptionMsg
- The exception message if script has failed
Copyright © 2005-2008 Join. All Rights Reserved.