it.eng.spagobi.engines.talend.runtime
Class TalendWork
java.lang.Object
it.eng.spagobi.engines.talend.runtime.TalendWork
- All Implemented Interfaces:
- commonj.work.Work, java.lang.Runnable
public class TalendWork
- extends java.lang.Object
- implements commonj.work.Work
Constructor Summary |
TalendWork(java.lang.String command,
java.lang.String[] envr,
java.io.File executableJobDir,
java.util.List filesToBeDeletedAfterJobExecution,
java.util.Map parameters)
Instantiates a new talend work. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TALEND_ROLES_HANDLER_CLASS_NAME
public static final java.lang.String TALEND_ROLES_HANDLER_CLASS_NAME
- See Also:
- Constant Field Values
TALEND_PRESENTAION_HANDLER_CLASS_NAME
public static final java.lang.String TALEND_PRESENTAION_HANDLER_CLASS_NAME
- See Also:
- Constant Field Values
START_EVENT_ID
public static final java.lang.String START_EVENT_ID
- See Also:
- Constant Field Values
BIOBJECT_ID
public static final java.lang.String BIOBJECT_ID
- See Also:
- Constant Field Values
USER_NAME
public static final java.lang.String USER_NAME
- See Also:
- Constant Field Values
EVENTS_MANAGER_URL
public static final java.lang.String EVENTS_MANAGER_URL
- See Also:
- Constant Field Values
EVENT_TYPE
public static final java.lang.String EVENT_TYPE
- See Also:
- Constant Field Values
DOCUMENT_EXECUTION_START
public static final java.lang.String DOCUMENT_EXECUTION_START
- See Also:
- Constant Field Values
DOCUMENT_EXECUTION_END
public static final java.lang.String DOCUMENT_EXECUTION_END
- See Also:
- Constant Field Values
TalendWork
public TalendWork(java.lang.String command,
java.lang.String[] envr,
java.io.File executableJobDir,
java.util.List filesToBeDeletedAfterJobExecution,
java.util.Map parameters)
- Instantiates a new talend work.
- Parameters:
command
- the commandenvr
- the envrexecutableJobDir
- the executable job dirfilesToBeDeletedAfterJobExecution
- the files to be deleted after job executionauditAccessUtils
- the audit access utilsauditId
- the audit idparameters
- the parameterssession
- the session
isCompleteWithoutError
public boolean isCompleteWithoutError()
- Checks if is complete without error.
- Returns:
- true, if is complete without error
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
isDaemon
public boolean isDaemon()
- Specified by:
isDaemon
in interface commonj.work.Work
release
public void release()
- Specified by:
release
in interface commonj.work.Work