jas2.swingstudio
Class LocalJob
- java.lang.Object
-
- java.util.Observable
-
- jas2.job.AbstractJob
-
- jas2.swingstudio.LocalJob
-
- All Implemented Interfaces:
- hepjas.analysis.peer.AnalysisApplication, BasicJob, Job, java.io.Serializable
public class LocalJob extends AbstractJob implements Job, hepjas.analysis.peer.AnalysisApplication, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jas2.job.AbstractJob
AbstractJob.EventSourceStopped, AbstractJob.SlowEventSource
-
-
Field Summary
-
Fields inherited from interface jas2.job.BasicJob
CURRENTEVENTSOURCE, DATASET, EVENTSOURCE, RESET, SHOWNOW
-
-
Constructor Summary
Constructors Constructor and Description LocalJob(JASJob jasJob, java.lang.String jobName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddRunListener(RunListener listener)hepjas.analysis.peer.JobPeercreateJobPeer(java.lang.String s, hepjas.analysis.Job job)hepjas.analysis.JobcurrentJob()java.io.OutputStreamgetErrorStream()java.io.OutputStreamgetLogStream()booleanisChanged()booleanisLoaded(java.lang.String className)java.lang.ClassloadClientClass(java.lang.String className)Called to load things such as Plugins, Extensions into the job on the client side.voidloadObject(java.lang.String s)voidnotifyInfo()voidnotifyInfo(int i)booleanopen()voidreload()voidremoveRunListener(RunListener listener)voidreopen(java.io.ObjectInputStream stream, JASJob jasJob)voidsave()voidsendMessage(java.lang.String message)voidunloadAll()-
Methods inherited from class jas2.job.AbstractJob
addEventAnalyzer, close, closeDataset, eventsAnalyzed, eventsTotal, getEvent, getEventDataClass, getHepAnalysisJob, getItem, getName, getState, getTreeRoot, go, isAtEndOfData, isAtStartOfData, isPersistent, isRunnable, isRunning, kill, receiveMessage, removeAllEventAnalyzers, removeEventAnalyzer, rewind, setActiveThread, setEventSource, setEventSource, setEventSource, setHepAnalysisJob, setPersistent, stop, update
-
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jas2.job.BasicJob
close, closeDataset, eventsAnalyzed, eventsTotal, getEvent, getEventDataClass, getItem, getName, go, isAtEndOfData, isAtStartOfData, isPersistent, isRunnable, isRunning, kill, receiveMessage, rewind, setEventSource, setPersistent, stop
-
-
-
-
Constructor Detail
-
LocalJob
public LocalJob(JASJob jasJob, java.lang.String jobName)
-
-
Method Detail
-
currentJob
public hepjas.analysis.Job currentJob()
- Specified by:
currentJobin interfacehepjas.analysis.peer.AnalysisApplication
-
createJobPeer
public hepjas.analysis.peer.JobPeer createJobPeer(java.lang.String s, hepjas.analysis.Job job)- Specified by:
createJobPeerin interfacehepjas.analysis.peer.AnalysisApplication
-
open
public boolean open() throws ModuleException- Specified by:
openin interfaceJob- Throws:
ModuleException
-
isLoaded
public boolean isLoaded(java.lang.String className)
-
reopen
public void reopen(java.io.ObjectInputStream stream, JASJob jasJob) throws OpenJobException- Specified by:
reopenin interfaceJob- Throws:
OpenJobException
-
save
public void save()
-
loadObject
public void loadObject(java.lang.String s) throws LoaderException- Specified by:
loadObjectin interfaceBasicJob- Overrides:
loadObjectin classAbstractJob- Throws:
LoaderException
-
loadClientClass
public java.lang.Class loadClientClass(java.lang.String className) throws java.lang.ClassNotFoundExceptionDescription copied from interface:JobCalled to load things such as Plugins, Extensions into the job on the client side.- Specified by:
loadClientClassin interfaceJob- Throws:
java.lang.ClassNotFoundException
-
getLogStream
public java.io.OutputStream getLogStream()
-
getErrorStream
public java.io.OutputStream getErrorStream()
-
unloadAll
public void unloadAll()
- Specified by:
unloadAllin interfaceBasicJob- Overrides:
unloadAllin classAbstractJob
-
sendMessage
public void sendMessage(java.lang.String message)
-
notifyInfo
public void notifyInfo()
-
notifyInfo
public void notifyInfo(int i)
-
addRunListener
public void addRunListener(RunListener listener)
- Specified by:
addRunListenerin interfaceJob
-
removeRunListener
public void removeRunListener(RunListener listener)
- Specified by:
removeRunListenerin interfaceJob
-
-
DataMelt 3.0 © DataMelt by jWork.ORG