Package hec.script
Class ScriptJob
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.SchedulableJob
hec.script.ScriptJob
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
Schedulable Script Job
- See Also:
-
Field Summary
Fields inherited from class hec.model.SchedulableJob
DAY_INTERVAL, HOUR_INTERVAL, MINUTE_INTERVAL, SINGLE
Fields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.void
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
void
setScriptName
(String scriptName) void
setScriptPath
(String scriptPath) void
setWorkspacePath
(String wkspPath) Methods inherited from class hec.model.SchedulableJob
equals, getIntervalString, getPassword, getPeriod, getRecurringAmount, getRecurringInterval, getStartDate, getStartDateString, getTimezoneOffset, getUser, isRecurring, setPassword, setRecurring, setRecurringAmount, setRecurringInterval, setStartDate, setTimezoneOffset, setUser
Methods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
ScriptJob
public ScriptJob() -
ScriptJob
-
-
Method Details
-
setScriptPath
-
getScriptPath
-
setScriptName
-
getScriptName
-
getWorkspacePath
-
setWorkspacePath
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Overrides:
getFieldObject
in classSchedulableJob
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Overrides:
setFieldObject
in classSchedulableJob
- Parameters:
fld
- The java field object representing the member field to be setfobj
- The data to set in that field- Returns:
- returns true if successful
-
printInfo
public void printInfo()- Overrides:
printInfo
in classSchedulableJob
-
equals
- Overrides:
equals
in classSchedulableJob
-
setScript
- Parameters:
script
-
-
getScript
- Returns:
-